Skip to content

Commit

Permalink
fix: fix client env variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Elbarae1921 committed Feb 12, 2025
1 parent fd4a468 commit 0828009
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
cache-to: type=inline
build-args: |
ARCH=linux/amd64
API_AUTHORITY=${{ secrets.API_AUTHORITY }}
VITE_API_URL=${{ secrets.API_URL }}
- name: Build & Publish toiki-nginx
if: steps.filter.outputs.client == 'true' || steps.filter.outputs.nginx == 'true'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
cache-to: type=inline
build-args: |
ARCH=linux/amd64
API_AUTHORITY=${{ secrets.API_AUTHORITY }}
VITE_API_URL=${{ secrets.API_URL }}
- name: Build server
uses: docker/build-push-action@v2
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Client
```
docker build --build-arg ARCH=linux/amd64 --build-arg API_AUTHORITY=localhost:8000 client -t toiki-build
docker build --build-arg ARCH=linux/amd64 --build-arg VITE_API_URL=localhost:8000 client -t toiki-build
```
change the ARCH build arg according to your architecture.

Expand Down

0 comments on commit 0828009

Please sign in to comment.