mirror of
https://github.com/dexoron/dcr.git
synced 2026-10-21 19:19:41 +00:00
Replace GitLab pipeline trigger with Cloudflare build
This commit is contained in:
8
.github/workflows/trigger-site-build.yml
vendored
8
.github/workflows/trigger-site-build.yml
vendored
@@ -10,9 +10,5 @@ jobs:
|
|||||||
trigger:
|
trigger:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Trigger GitLab pipeline
|
- name: Trigger Cloudflare Pages build
|
||||||
run: |
|
run: curl -sS -X POST "${{ secrets.CF_PAGES_DEPLOY_HOOK }}"
|
||||||
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