Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Brunobento1990 committed Dec 23, 2024
1 parent 6a209ee commit aab5d8c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
4 changes: 4 additions & 0 deletions .env.production
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
NEXT_PUBLIC_JWT_EXPIRATION= 5m
NEXT_PUBLIC_JWT_SECRET= dd5f3089-40c3-403d-af14-d0c228b05cb4
NEXT_PUBLIC_JWT_REFRESH_TOKEN_SECRET= 7c4c1c50-3230-45bf-9eae-c9b2e401c767
NEXT_PUBLIC_URL_API=https://api.iscaslune.com.br/api/v1/
10 changes: 5 additions & 5 deletions .github/workflows/build-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ jobs:

steps:
- uses: actions/checkout@v3
- name: Make envfile
run: |
cat > .env.production
echo "NEXT_PUBLIC_URL_API=secrets.URL_API" >> .env.production
echo "$(<.env.production)"
#- name: Make envfile
# run: |
# cat > .env.production
# echo "NEXT_PUBLIC_URL_API=secrets.URL_API" >> .env.production
# echo "$(<.env.production)"
- name: Build
run: docker build . -t brunobentocaina/open-adm-ui:latest
- name: Push
Expand Down

0 comments on commit aab5d8c

Please sign in to comment.