Skip to content

Commit

Permalink
cicd: fix env variables
Browse files Browse the repository at this point in the history
  • Loading branch information
Dorian committed Sep 22, 2024
1 parent 0679b32 commit 1f8ac75
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ jobs:
steps:
- name: Checkout source
uses: actions/checkout@v4
- name: Use Node.js
- name: Generate env file
run: |
touch .env.prod
echo APP_HOST=${{ env.APP_HOST }} >> .env.prod
echo DATABASE_HOST=${{ env.DATABASE_HOST }} >> .env.prod
echo DATABASE_PORT=${{ env.DATABASE_PORT }} >> .env.prod
echo APP_HOST=$APP_HOST >> .env.prod
echo DATABASE_HOST=$DATABASE_HOST >> .env.prod
echo DATABASE_PORT=$DATABASE_PORT >> .env.prod
echo TOKEN_SECRET="${{ secrets.TOKEN_SECRET }}" >> .env.prod
echo CRYPTO_KEY="${{ secrets.CRYPTO_KEY }}" >> .env.prod
cat .env.prod
Expand Down

0 comments on commit 1f8ac75

Please sign in to comment.