put the commit hash in the webhook
This commit is contained in:
parent
226981f433
commit
369dda5e33
@ -48,5 +48,16 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
curl -X POST \
|
curl -X POST \
|
||||||
-H "Content-Type: application/json" \
|
-H "Content-Type: application/json" \
|
||||||
-d '{"event":"deployment"}' \
|
-H "x-gitea-event: Push Hook" \
|
||||||
|
-d "{
|
||||||
|
\"ref\": \"refs/heads/main\",
|
||||||
|
\"after\": \"${GITHUB_SHA}\",
|
||||||
|
\"commits\": [
|
||||||
|
{
|
||||||
|
\"id\": \"${GITHUB_SHA}\",
|
||||||
|
\"message\": \"Deployment from Gitea Actions\",
|
||||||
|
\"author\": { \"name\": \"${GITHUB_ACTOR}\" }
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}" \
|
||||||
"${{ secrets.WEBHOOK_URL }}"
|
"${{ secrets.WEBHOOK_URL }}"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "futureporn-our",
|
"name": "futureporn-our",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "2.8.10",
|
"version": "2.8.11",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "concurrently npm:dev:serve npm:dev:build:server npm:dev:build:client npm:dev:worker npm:dev:compose npm:dev:sftp npm:dev:qbittorrent npm:dev:tailscale",
|
"dev": "concurrently npm:dev:serve npm:dev:build:server npm:dev:build:client npm:dev:worker npm:dev:compose npm:dev:sftp npm:dev:qbittorrent npm:dev:tailscale",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user