Phase 0: safety net for the build and deploy #1
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/phase-0-safety-net"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Small changes, no content changes, and no change to what runs on the server (compose still starts
academie:prod)..dockerignore: the build context no longer sends.git(~160 MB) or localnode_modules/.outputinto the build.package.json(9.1.2), instead of whatever version is latest on build day..nvmrcandengines. The package name is nowsla-website.academie:<short sha>. The README gains a "Rollback" section: retag an earlier sha as:prodand rundocker compose up -d.stackbit.config.ts(Stackbit leftover, said Node 18) and the emptyserver/folder.Checked locally:
pnpm install --frozen-lockfileandpnpm buildpass. Docker and Woodpecker are not tested yet.@bdu, two things to check:
academie:<8 chars>tag. That uses Woodpecker's${CI_COMMIT_SHA:0:8}substitution, so please confirm your Woodpecker version supports it.Heads-up for the next PR (Phase 1): we will remove Decap CMS (
public/admin, the preview pages and layouts). From then on, content is edited as files incontent/and changes go through a PR. I know you just set up Decap's local mode on 27 Oct. This is a choice to keep the site minimal, and the Phase 1 PR will explain it.