update Dockerfile command to posix-style flag #43
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: podswap | |
| on: | |
| push: | |
| branches: | |
| - 'main' | |
| jobs: | |
| podswap: | |
| uses: douglascdev/podswap/.github/workflows/action.yml@main | |
| secrets: | |
| WEBHOOK_SECRET: ${{ secrets.WEBHOOK_SECRET }} | |
| WEBHOOK_URL: ${{ secrets.WEBHOOK_URL }} | |
| with: | |
| pre-build-cmd: 'git pull && podman image prune' | |
| build-cmd: 'podman compose build' | |
| deploy-cmd: 'podman compose up -d --force-recreate' |