Repository navigation
π fix all templates without links to docs, github and website #32
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] # customize as needed | |
| jobs: | |
| build-push-app: | |
| name: Build and Deploy Template Stack | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Deploy stack to ZaneOps | |
| run: | | |
| curl -f -o /dev/null -X PUT "${{ secrets.DOCKER_COMPOSE_DEPLOY_WEBHOOK_URL }}" \ | |
| -H "Content-Type: application/json" \ | |
| -d "{ | |
| \"commit_message\": \"${{ github.event.head_commit.message }}\", | |
| \"user_content\": $(cat docker-compose.yml | jq -Rs .) | |
| }" |