|
10 | 10 |
|
11 | 11 | # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages |
12 | 12 | permissions: |
13 | | -contents:read |
14 | | -pages:write |
15 | | -id-token:write |
| 13 | +contents:write |
16 | 14 |
|
17 | 15 | # Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued. |
18 | 16 | # However, do NOT cancel in-progress runs as we want to allow these production deployments to complete. |
@@ -43,14 +41,12 @@ jobs: |
43 | 41 | cd docs-website |
44 | 42 | npm run docs:build |
45 | 43 |
|
46 | | - -name:Setup Pages |
47 | | -uses:actions/configure-pages@v4 |
48 | | - |
49 | | - -name:Upload artifact |
50 | | -uses:actions/upload-pages-artifact@v3 |
51 | | -with: |
52 | | -path:docs-website/.vitepress/dist |
53 | | - |
54 | 44 | -name:Deploy to GitHub Pages |
55 | | -id:deployment |
56 | | -uses:actions/deploy-pages@v4 |
| 45 | +uses:peaceiris/actions-gh-pages@v4 |
| 46 | +with: |
| 47 | +deploy_key:${{ secrets.ACTIONS_DEPLOY_KEY }} |
| 48 | +publish_dir:./docs-website/.vitepress/dist |
| 49 | +external_repository:fluentmigrator/fluentmigrator.github.io |
| 50 | +publish_branch:main |
| 51 | +user_name:'github-actions[bot]' |
| 52 | +user_email:'github-actions[bot]@users.noreply.github.com' |