This commit is contained in:
@@ -73,3 +73,15 @@ jobs:
|
||||
done <<'EOF'
|
||||
${{ steps.meta.outputs.tags }}
|
||||
EOF
|
||||
|
||||
- name: Trigger Dokploy deployment
|
||||
if: github.ref == 'refs/heads/main'
|
||||
run: |
|
||||
set -eu
|
||||
|
||||
if [ -z "${{ secrets.DOKPLOY_WEBHOOK_URL }}" ]; then
|
||||
echo "::error::Set the DOKPLOY_WEBHOOK_URL repository secret."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
curl -fsS -X POST "${{ secrets.DOKPLOY_WEBHOOK_URL }}"
|
||||
|
||||
Reference in New Issue
Block a user