Skip to content

Commit db853bc

Browse files
authored
Update build-sveltekit.yml
1 parent 36972f3 commit db853bc

1 file changed

Lines changed: 15 additions & 1 deletion

File tree

.github/workflows/build-sveltekit.yml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,18 @@ jobs:
4848
labels: ${{ steps.meta.outputs.labels }}
4949
# "PORT=${{ secrets.SV_PORT }}"
5050
# "CAPTCHAKEY=${{ secrets.CAPTCHAKEY }}"
51-
# "PB_URL=${{ secrets.PB_URL }}"
51+
# "PB_URL=${{ secrets.PB_URL }}"
52+
53+
- name: Trigger Dokploy Deployment
54+
run: |
55+
curl -X 'POST' \
56+
'${{ secrets.DOKPLOY_WEBHOOK_URL }}' \
57+
-H 'Content-Type: application/json' \
58+
-H 'x-github-event: push' \
59+
-d '{
60+
"ref": "refs/heads/production",
61+
"head_commit": {
62+
"id": "${{ github.sha }}",
63+
"message": "Deployment from Github Actions"
64+
}
65+
}'

0 commit comments

Comments
 (0)