feat: add site-pack workflow (builds CMS+catalogus+nitro+render+emulator into pack-YYYYMMDD-HHMM release)
This commit is contained in:
1 parent
222fa1a9db
commit
87d72a1aef
2 files changed
+178
No files matched your search
@@ -0,0 +1,21 @@
|
||||
name: Trigger Site Pack
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
jobs:
|
||||
notify:
|
||||
runs-on: shell
|
||||
steps:
|
||||
- name: Dispatch pack build to EpicNext-CMS
|
||||
run: |
|
||||
set -e
|
||||
API="${{ gitea.api_url }}"
|
||||
TOKEN="${{ secrets.GITEA_TOKEN }}"
|
||||
# Target repo: remco/EpicNext-Cms (the CMS repo that owns the pack workflow)
|
||||
curl -s -o /dev/null -X POST \
|
||||
"${API}/repos/remco/EpicNext-Cms/actions/workflow_dispatch" \
|
||||
-H "Authorization: token ${TOKEN}" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{"ref":"main","event_type":"build-pack"}'
|
||||
echo "Dispatched pack build to EpicNext-CMS"
|
||||
Reference in new issue
Block a user