diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml index 29a2b9e..ae3ea03 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/cicd.yml @@ -11,13 +11,12 @@ 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=${{ env.APP_HOST }} >> .env.prod - echo DATABASE_HOST=${{ env.DATABASE_HOST }} >> .env.prod - echo DATABASE_PORT=${{ env.DATABASE_PORT }} >> .env.prod + echo APP_HOST=${{ vars.APP_HOST }} >> .env.prod + echo DATABASE_HOST=${{ vars.DATABASE_HOST }} >> .env.prod + echo DATABASE_PORT=${{ vars.DATABASE_PORT }} >> .env.prod echo TOKEN_SECRET="${{ secrets.TOKEN_SECRET }}" >> .env.prod echo CRYPTO_KEY="${{ secrets.CRYPTO_KEY }}" >> .env.prod cat .env.prod