Deploy docs to fluentmigrator/fluentmigrator.github.io repository#2185
Conversation
Co-authored-by: PhenX <[email protected]>
|
@copilot I got this error while running the workflow : [INFO] setup GITHUB_TOKEN |
…loyment Co-authored-by: PhenX <[email protected]>
Fixed in commit af718d1. Changed from You'll need to create a Personal Access Token with |
|
@copilot I prefer using deploy keys |
Co-authored-by: PhenX <[email protected]>
Changed to use deploy_key in commit ee358e9. Setup steps:
|
PhenX
left a comment
There was a problem hiding this comment.
I added the required deploy token and it works
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, with write 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 more Copilot coding agent tips in the docs.