- Notifications
You must be signed in to change notification settings - Fork691
Deploy docs to fluentmigrator/fluentmigrator.github.io repository#2185
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Conversation
Co-authored-by: PhenX <42170+PhenX@users.noreply.github.com>
github-actionsbot commentedNov 19, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
PhenX commentedNov 19, 2025
@copilot I got this error while running the workflow : [INFO] setup GITHUB_TOKEN |
…loymentCo-authored-by: PhenX <42170+PhenX@users.noreply.github.com>
Fixed in commitaf718d1. Changed from You'll need to create a Personal Access Token with |
PhenX commentedNov 19, 2025
@copilot I prefer using deploy keys |
Co-authored-by: PhenX <42170+PhenX@users.noreply.github.com>
Changed to use deploy_key in commitee358e9. Setup steps:
|
PhenX left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
I added the required deploy token and it works
fcc42a9 intomainUh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Updates the
deploy-docs.ymlworkflow to publish documentation to the externalfluentmigrator/fluentmigrator.github.iorepository instead of the current repository's GitHub Pages.Changes
peaceiris/actions-gh-pages@v4configured for external repository deploymentpages: write, id-token: writetocontents: writefor cross-repository push accessfluentmigrator/fluentmigrator.github.iorepository,mainbranchdeploy_keywithsecrets.ACTIONS_DEPLOY_KEYfor authentication (required for external repository deployment)Configuration
Setup Required
A deploy key must be generated and configured:
ssh-keygen -t ed25519 -C "github-actions-deploy"fluentmigrator/fluentmigrator.github.iorepository (Settings → Deploy keys → Add deploy key, withwrite access enabled)ACTIONS_DEPLOY_KEYin this repository (Settings → Secrets and variables → Actions → New repository secret)Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn moreCopilot coding agent tips in the docs.