Skip to content

Commit

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

0 comments on commit bc8f4a3

Please sign in to comment.