Repository navigation
Conversation
After the rsync deploy, sync _build/html to the 6-docs-plone-org R2 bucket with plone/r2-deploy. Both deploys run until the DNS cutover; the server stays the live site until then. The job joins a fixed concurrency group so two syncs to the bucket never overlap. The group is a literal because R2_BUCKET is an environment variable, which job-level concurrency cannot read. Refs #2127
This branch has not been deployed
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.
Refs #2127
After the existing rsync deploy, the
build_deployjob now syncs_build/htmlto the6-docs-plone-orgCloudflare R2 bucket with plone/r2-deployv1.0.0.DEPLOY_*settings is a later change.R2_BUCKETandR2_ACCOUNT_ID(variables) andR2_ACCESS_KEY_ID/R2_SECRET_ACCESS_KEY(secrets) from thedocs.plone.orgenvironment; they are already set, with a key limited to that bucket.r2-6-docs-plone-org(no cancelling), so two syncs never overlap and delete each other's files. The group is a literal because environment variables are not available to job-levelconcurrency._build/html, is uploaded with the rest.The workflow runs only on pushes to
6.0, so the R2 secrets are never exposed to pull requests. The first real sync happens on the merge; the action writes its upload and delete counts to the job summary.