1
0
mirror of synced 2026-08-05 09:47:05 +00:00

Antora Playbook

This commit is contained in:
Rob Winch
2021-11-08 13:35:57 -06:00
parent ab794bf67a
commit 4f88bb8e5f
12 changed files with 423 additions and 4 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
REPOSITORY_REF="$1"
TOKEN="$2"
curl -H "Accept: application/vnd.github.everest-preview+json" -H "Authorization: token ${TOKEN}" --request POST --data '{"event_type": "request-build"}' https://api.github.com/repos/${REPOSITORY_REF}/dispatches
echo "Requested Build for $REPOSITORY_REF"
curl -H "Accept: application/vnd.github.everest-preview+json" -H "Authorization: token ${TOKEN}" --request POST --data '{"event_type": "request-build-reference"}' https://api.github.com/repos/${REPOSITORY_REF}/dispatches
echo "Requested Build for $REPOSITORY_REF"