Deploy with Dokploy #1
This file contains 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 with Dokploy | |
on: | |
workflow_run: | |
workflows: ["Create and publish Docker images"] | |
types: | |
- completed | |
jobs: | |
build-and-push-image: | |
environment: dokploy-${{ github.ref_name }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: Redeploy the application using the latest image | |
uses: distributhor/workflow-webhook@v3 | |
with: | |
webhook_url: ${{ secrets.DOKPLOY_WEBHOOK_URL }} |