The GitHub Actions workflow is failing to deploy because it lacks permissions to push to the master branch.
Error: The peaceiris/actions-gh-pages@v4 action cannot push to master without explicit write permissions for GITHUB_TOKEN.
Added permissions: contents: write to the workflow configuration.
permissions:
contents: writeThis grants the workflow the necessary permissions to:
- Push built site to
masterbranch - Complete the automated deployment process
After merging:
- Any push to
devwill trigger the workflow - The workflow will build the Hugo site
- Successfully deploy to
masterbranch - GitHub Pages will serve the updated site
High - The automated deployment is currently broken. This fix is needed for the deployment workflow to function.
Merge this PR to restore automated deployments!