Skip to content

Commit

Permalink
Document release process. (#225)
Browse files Browse the repository at this point in the history
* Document release process.

* curl retry for linkcheck

* --retry-all-errors
  • Loading branch information
Robpol86 authored Oct 14, 2023
1 parent 0d610c6 commit 1521221
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/linkcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
set -eux
if ! make linkcheck; then
while read -r url; do
curl -sSfv -o /dev/null -w "%{http_code}" "$url" > docs/_build/html/status.txt
curl -sSfv --retry 3 --retry-max-time 45 --retry-all-errors -o /dev/null -w "%{http_code}" "$url" > docs/_build/html/status.txt
grep '^200$' docs/_build/html/status.txt
done < docs/_build/html/broken.txt
fi
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,13 @@ Google Analytics is enabled on my website via a [CloudFlare app](https://www.clo

## Releases

Deployments to production are done by GitHub Actions when a new tag matching the format YYYY-MM-DD is manually pushed. All
branch and tag pushes trigger a deployment to staging, whilst pull requests only trigger CI linting and testing.
Releasing to stage is done automatically on every branch push.

To release to production:

1. https://github.com/Robpol86/robpol86.com/actions/workflows/release.yml
1. Run workflow > Fill out the release title
1. This will also be the section title in the [CHANGELOG.md](CHANGELOG.md) entry
1. Run workflow
1. When it completes a new git tag, GitHub release, and CHANGELOG.md entry will be created
1. The workflow will also deploy the HTML to production

0 comments on commit 1521221

Please sign in to comment.