chore: update devcontainer, deploy config and docs for Django Redis P… #1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
deploy: | |
environment: playground | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
id-token: write | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@v4 | |
- name: Deploy | |
uses: DefangLabs/defang-github-action@v1.1.3 | |
with: | |
config-env-vars: DJANGO_SECRET_KEY POSTGRES_PASSWORD SSL_MODE | |
env: | |
DJANGO_SECRET_KEY: ${{ secrets.DJANGO_SECRET_KEY }} | |
POSTGRES_PASSWORD: ${{ secrets.POSTGRES_PASSWORD }} | |
SSL_MODE: ${{ secrets.SSL_MODE }} |