1
0
mirror of synced 2026-08-06 10:18:52 +00:00

Antora Playbook

This commit is contained in:
Rob Winch
2021-11-08 13:35:57 -06:00
parent 538541bf40
commit 127e10e607
13 changed files with 424 additions and 5 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"