Add GitHub Actions workflow to trigger site rebuild

This commit is contained in:
2026-07-05 18:16:45 +08:00
committed by GitHub
parent f8d8c95912
commit 1f3fc62cb6

View File

@@ -0,0 +1,18 @@
name: Trigger site rebuild
on:
push:
branches: [master]
paths:
- 'docs/**'
jobs:
trigger:
runs-on: ubuntu-latest
steps:
- name: Trigger GitLab pipeline
run: |
curl -sS -X POST \
-F "token=${{ secrets.GITLAB_TRIGGER_TOKEN }}" \
-F "ref=master" \
"https://gitlab.com/api/v4/projects/83371847/trigger/pipeline"