File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -239,16 +239,16 @@ jobs:
239239 EXPECTED_SOURCE_REVISION : ${{ github.sha }}
240240 run : vp run book:candidate:validate
241241
242- # NOTE: The GitHub Pages build/deployment source must be switched from the legacy "gh-pages" branch
243- # to "GitHub Actions" in the repository settings ONLY after this workflow has run successfully and is green.
244- # DO NOT mutate live Pages settings or push directly.
242+ # GitHub Pages is configured to deploy from GitHub Actions.
245243 deploy-pages :
246244 runs-on : ubuntu-latest
247245 needs : docs
248246 if : github.event_name == 'push' && github.ref == 'refs/heads/main' && github.repository_owner == 'pluralitybook'
249247 permissions :
250248 pages : write
251249 id-token : write
250+ environment :
251+ name : github-pages
252252 steps :
253253 - name : Deploy to GitHub Pages
254254 uses : actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e
You can’t perform that action at this time.
0 commit comments