Add depends_on #4
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: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| id-token: write | |
| steps: | |
| - name: Checkout Repo | |
| uses: actions/checkout@v4 | |
| - name: Deploy | |
| uses: DefangLabs/[email protected] | |
| with: | |
| config-env-vars: SECRET_KEY POSTGRES_PASSWORD | |
| env: | |
| SECRET_KEY: ${{ secrets.SECRET_KEY }} | |
| POSTGRES_PASSWORD: ${{ secrets.POSTGRES_PASSWORD }} |