put the commit hash in the webhook
Some checks failed
ci / build (push) Has been cancelled
ci / test (push) Has been cancelled

This commit is contained in:
CJ_Clippy 2025-09-26 02:34:00 -08:00
parent 226981f433
commit 369dda5e33
2 changed files with 14 additions and 3 deletions

View File

@ -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 }}"

View File

@ -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",