diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 9e646b4..7587baf 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -31,7 +31,7 @@ jobs: password: ${{ secrets.GIT_PERSONAL_ACCESS_TOKEN }} - name: Load secrets and save to app.env - run: ${{ secrets.APP_ENV }} | jq -r > app.env + run: $APP_ENV | jq -r > app.env - name: Extract metadata (tags, labels) for Docker id: meta diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9514074..a5b664f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,9 +20,9 @@ jobs: image: postgres:latest # Provide the password for postgres env: - POSTGRES_DB: ${{ secrets.POSTGRES_DB }} - POSTGRES_USER: ${{ secrets.POSTGRES_USER }} - POSTGRES_PASSWORD: ${{ secrets.POSTGRES_PASSWORD }} + POSTGRES_DB: ${{ vars.POSTGRES_DB }} + POSTGRES_USER: ${{ vars.POSTGRES_USER }} + POSTGRES_PASSWORD: ${{ vars.POSTGRES_PASSWORD }} ports: - 5432:5432 # Set health checks to wait until postgres has started