You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix build_docs gh action with some minor improvements (CrayLabs#143)
Fix `build_docs` github action that was previously broken. Some other minor improvements were added as part of this fix.
Changes include:
- `build_docs` action is triggered when we push to develop branch
- Previously, it was on PR closed, which isn't necessarily a merge, i.e. a contributor could close a PR without merging and the action would still trigger
- Use `GITHUB_TOKEN` instead of personal authentication (PA) credentials to push
- Use "[email protected]" as the git author (user) to distinguish automated commits from human commits
- Check static files from doc branch into develop, so that we can modify
them in a regular PR to `develop`, rather than have to edit the doc branch
directly. I'd like for us to get to a point where doc branch pushes are fully automated, so we should never have to modify it directly.
- Static files include: `.nojekyll` (both top-level and per-sphinx-build), `CNAME`, and top-level `index.html`
[ Committed by @ben-albrecht ]
[ Reviewed by @Spartee ]
0 commit comments