mirror of
https://github.com/SantaSpeen/santaspeen.ru-blog.git
synced 2026-05-19 16:10:16 +00:00
gh page auto custom url
This commit is contained in:
@@ -9,7 +9,6 @@ jobs:
|
|||||||
deploy:
|
deploy:
|
||||||
environment:
|
environment:
|
||||||
name: github-pages
|
name: github-pages
|
||||||
url: ${{ steps.deployment.outputs.page_url }}
|
|
||||||
name: Deploy to GitHub Pages
|
name: Deploy to GitHub Pages
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
@@ -30,3 +29,6 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
publish_dir: ./build
|
publish_dir: ./build
|
||||||
|
|
||||||
|
- name: GitHub Pages custom URL
|
||||||
|
run: bash github-page-url.sh
|
||||||
@@ -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":"/"}}'
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
.client-icon {
|
.client-icon {
|
||||||
display: block;
|
display: block;
|
||||||
max-width: 12rem;
|
max-width: 10rem;
|
||||||
color: white;
|
color: white;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -8,7 +8,7 @@
|
|||||||
display: block;
|
display: block;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
color: white;
|
color: white;
|
||||||
max-width: 12rem;
|
max-width: 10rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.buttons {
|
.buttons {
|
||||||
|
|||||||
Reference in New Issue
Block a user