Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 83d9308

Browse files
committed
ci(github-actions): fix sponsorship page generation
1 parent eca443d commit 83d9308

File tree

1 file changed

+10
-12
lines changed

1 file changed

+10
-12
lines changed

‎.github/workflows/docspublish.yml

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
push:
55
branches:
66
- master
7+
workflow_dispatch:
78

89
jobs:
910
update-cli-screenshots:
@@ -58,22 +59,19 @@ jobs:
5859
python -m pip install -U pip poetry poethepoet
5960
poetry --version
6061
poetry install --no-root --only documentation
61-
- name: Build docs
62-
env:
63-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
64-
run: |
65-
poetry doc:build
6662
- name: Generate Sponsors 💖
6763
uses: JamesIves/github-sponsors-readme-action@v1
6864
with:
6965
token: ${{ secrets.PERSONAL_ACCESS_TOKEN_FOR_ORG }}
7066
file: "docs/README.md"
7167
organization: true
72-
- name: Push doc to Github Page
73-
uses: peaceiris/actions-gh-pages@v4
68+
- name: Build docs
69+
env:
70+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
71+
run: |
72+
poetry doc:build
73+
- name: Deploy 🚀
74+
uses: JamesIves/github-pages-deploy-action@v4
7475
with:
75-
personal_token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
76-
publish_branch: gh-pages
77-
publish_dir: ./site
78-
user_name: "github-actions[bot]"
79-
user_email: "github-actions[bot]@users.noreply.github.com"
76+
folder: ./site # The folder the action should deploy.
77+
branch: gh-pages

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /