|
4 | 4 | push:
|
5 | 5 | branches:
|
6 | 6 | - master
|
| 7 | + workflow_dispatch: |
7 | 8 |
|
8 | 9 | jobs:
|
9 | 10 | update-cli-screenshots:
|
@@ -58,22 +59,19 @@ jobs:
|
58 | 59 | python -m pip install -U pip poetry poethepoet
|
59 | 60 | poetry --version
|
60 | 61 | poetry install --no-root --only documentation
|
61 | | - - name: Build docs |
62 | | - env: |
63 | | - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
64 | | - run: | |
65 | | - poetry doc:build |
66 | 62 | - name: Generate Sponsors 💖
|
67 | 63 | uses: JamesIves/github-sponsors-readme-action@v1
|
68 | 64 | with:
|
69 | 65 | token: ${{ secrets.PERSONAL_ACCESS_TOKEN_FOR_ORG }}
|
70 | 66 | file: "docs/README.md"
|
71 | 67 | 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 |
74 | 75 | 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