Skip to content

Commit 43a4322

Browse files
committed
add secrets to deployment job
1 parent c6b6d2e commit 43a4322

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

samples/django-postgres/.github/workflows/deploy.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,10 @@ jobs:
1818
uses: actions/checkout@v4
1919

2020
- name: Deploy
21-
uses: DefangLabs/[email protected]
21+
uses: DefangLabs/[email protected]
22+
with:
23+
config-env-vars: POSTGRES_PASSWORD SECRET_KEY ALLOWED_HOSTS
24+
env:
25+
POSTGRES_PASSWORD: ${{ secrets.POSTGRES_PASSWORD }}
26+
SECRET_KEY: ${{ secrets.SECRET_KEY }}
27+
ALLOWED_HOSTS: ${{ secrets.ALLOWED_HOSTS }}

0 commit comments

Comments
 (0)