This commit is contained in:
25
.gitea/workflows/trigger-github.yml
Normal file
25
.gitea/workflows/trigger-github.yml
Normal file
@@ -0,0 +1,25 @@
|
||||
name: Trigger GitHub Docker Build
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
trigger:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Trigger GitHub workflow
|
||||
run: |
|
||||
curl -X POST \
|
||||
-H "Accept: application/vnd.github+json" \
|
||||
-H "Authorization: Bearer ${{ secrets.PAT_GITHB }}" \
|
||||
https://api.github.com/repos/al3des/deploy/dispatches \
|
||||
-d '{
|
||||
"event_type": "build-docxtemplater",
|
||||
"client_payload": {
|
||||
"gitea_repo": "https://gitea.netcups.al3dev.link/al3dev/docxtemplater-server.git",
|
||||
"image": "gitea.netcups.al3dev.link/al3dev/docxtemplater-server:latest"
|
||||
}
|
||||
}'
|
||||
Reference in New Issue
Block a user