⚙️ Standardise CI/CD to match docket/wereabouts pattern#3
Merged
Conversation
- ci.yml: replace docker.yml + create-release-tag.yml with standard pattern (test → build-and-push with host pre-build of deps/assets → staging deploy on PRs → production deploy on release tag) - release.yml: standard pattern with set -euo pipefail, env: blocks, tag-exists recovery message - Add dependabot-make-release.yml for automated weekly releases - Add .github/dependabot.yml targeting dependabot-updates branch - Remove docker.yml, create-release-tag.yml, auto-merge-dependabot.yml - docker/production/entrypoint.sh: add APP_KEY check, storage dir creation, error wrappers for artisan commands - .dockerignore: add docs exclusion and preserve README.md Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
aquarion
marked this pull request as ready for review
June 5, 2026 10:07
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
docker.yml+create-release-tag.ymlwith the standard pipeline — test job (PHP 8.4 + pest + SQLite) → build-and-push (pre-builds deps/assets on host before Docker build) → staging deploy on PRs (/home/docker/alchemistic-staging) → production deploy on release tag (/home/docker/alchemistic)set -euo pipefail,env:blocks, tag-exists recovery messagedependabot-updatesdependabot-updatesbranchdocker.yml,create-release-tag.yml,auto-merge-dependabot.ymlAPP_KEYcheck, storage dir creation, error wrappersdocsexclusion, preserve README.mdNotes
docker/production/Dockerfilepath preserved viafile:in build-and-pushFIRTH_SSH_KEYsecret needs to be available in this repo's settings for deploys to workTest plan
FIRTH_SSH_KEYsecret is set and/home/docker/alchemistic[-staging]directories exist on the server🤖 Generated with Claude Code