diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index c3d02536..acbad97f 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -26,6 +26,8 @@ jobs: file: ./Dockerfile.prod push: true tags: 100xdevs/dailycode-staging:${{ github.sha }} + build-args: + DATABASE_URL: ${{ secrets.STAGING_DATABASE }} - name: Clone staging-ops repo, update, and push env: diff --git a/.github/workflows/cd_prod.yml b/.github/workflows/cd_prod.yml index 474e9f07..0431714b 100644 --- a/.github/workflows/cd_prod.yml +++ b/.github/workflows/cd_prod.yml @@ -26,6 +26,8 @@ jobs: file: ./Dockerfile.prod push: true tags: 100xdevs/dailycode:${{ github.sha }} + build-args: + DATABASE_URL: ${{ secrets.PROD_DATABASE }} - name: Clone staging-ops repo, update, and push env: