gh page auto custom url

This commit is contained in:
Artur Akmalov
2023-05-23 20:45:37 +05:00
parent c3d9c8c9c7
commit 25636c17ca
3 changed files with 13 additions and 4 deletions
+7
View File
@@ -0,0 +1,7 @@
curl -L \
-X PUT \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer $GITHUB_TOKEN"\
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/akmalovaa/akmalov.com/pages \
-d '{"cname":"test.akmalov.com","source":{"branch":"gh-pages","path":"/"}}'