Skip to content

Commit

Permalink
feat: add environment variable
Browse files Browse the repository at this point in the history
  • Loading branch information
emiriko committed May 13, 2024
1 parent 3049e03 commit c38e10c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Dockerfile
.dockerignore
node_modules
npm-debug.log
README.md
.next
docker
.git
6 changes: 6 additions & 0 deletions .github/workflows/gcp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ jobs:
with:
fetch-depth: 0

- name: Environment variables
run: |
touch .env
echo NEXT_PUBLIC_API_URL=${{ secrets.API_URL }} >> .env
cat .env
- name: Docker Login
uses: docker/login-action@v3
with:
Expand Down

0 comments on commit c38e10c

Please sign in to comment.