Skip to content

Conversation

thortve
Copy link
Member

@thortve thortve commented Oct 15, 2026

Move the deploy steps out of the checks job into a deploy job that runs after it on pushes to main. The job belongs to the GitHub environment "production", so the repository lists each deploy, the live commit and a link to the site. The new job starts from a fresh checkout, so it installs and builds again. Pull requests still only run checks, which keeps its name for branch protection.

The site check now also runs a sightings query, since health does not touch the database and a wrong database password passed the old check.

Rename the workflow to ci-cd.yml and "CI/CD" now that it also deploys. Document the deploy job, the environment and the "Access denied" fix in docs/ci-cd.md.

Closes #72

Move the deploy steps out of the checks job into a deploy job that runs
after it on pushes to main. The job belongs to the GitHub environment
"production", so the repository lists each deploy, the live commit and
a link to the site. The new job starts from a fresh checkout, so it
installs and builds again. Pull requests still only run checks, which
keeps its name for branch protection.

The site check now also runs a sightings query, since health does not
touch the database and a wrong database password passed the old check.

Rename the workflow to ci-cd.yml and "CI/CD" now that it also deploys.
Document the deploy job, the environment and the "Access denied" fix in
docs/ci-cd.md.

Closes #72

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@thortve thortve added the enhancement New feature or request label Oct 15, 2026
@thortve thortve added this to the Partial submission 2 milestone Oct 15, 2026
@thortve thortve self-assigned this Oct 15, 2026
@thortve thortve requested a review from a team as a code owner October 15, 2026 08:58
@thortve thortve linked an issue Oct 15, 2026 that may be closed by this pull request
@thortve thortve merged commit 3c58770 into main Oct 15, 2026
2 checks passed
Sign in to join this conversation on GitHub.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Deploy tracking
2 participants