Movatterモバイル変換


[0]ホーム

URL:


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

Commitfcc42a9

Browse files
authored
Merge pull request#2185 from fluentmigrator/copilot/update-deploy-docs-workflow
Deploy docs automatically to fluentmigrator/fluentmigrator.github.io repository
2 parents72d36e7 +ee358e9 commitfcc42a9

File tree

1 file changed

+9
-13
lines changed

1 file changed

+9
-13
lines changed

‎.github/workflows/deploy-docs.yml‎

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,7 @@ on:
1010

1111
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
1212
permissions:
13-
contents:read
14-
pages:write
15-
id-token:write
13+
contents:write
1614

1715
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
1816
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
@@ -43,14 +41,12 @@ jobs:
4341
cd docs-website
4442
npm run docs:build
4543
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-
5444
-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'

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp