mirror of
https://github.com/dexoron/dcr.git
synced 2026-10-21 17:09:35 +00:00
Add GitHub Actions workflow to trigger site rebuild
This commit is contained in:
18
.github/workflows/trigger-site-build.yml
vendored
Normal file
18
.github/workflows/trigger-site-build.yml
vendored
Normal 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"
|
||||||
Reference in New Issue
Block a user