-
Notifications
You must be signed in to change notification settings - Fork 0
Deployment
Matt Poole edited this page Aug 16, 2024
·
1 revision
- Access to Platform.sh
- Permission to merge PRs to main
- Create a tag of
develop
- Releases uses [semantic versioning] standards.
- Use
git tag -n9
to list previous tags git tag -a v1.2.0 -m '<Purpose/short message>
- Push the tag.
- Create new draft release in GitHub https://github.com/Bixal/bixal-site-drupal/releases/new
- Create a new release branch from
develop
(release branches don't start withv
like the tags)
git checkout -b release/1.2.0
- Create a PR of the new release with target of main.
- Backup main DB
- Merge release PR to start the deployment
- To revert: Put site in maintenance mode, restore the backup in Platform, reverse the merge to get main back how it was with a PR, Merge the reversed release.
- Publish the GitHub release as the latest and non-draft.