amplify-preview-actions
AWS Amplify Pull-Request Previews currently only supports private GitHub repository. This amplify-preview-actions
GitHub action enables the ability to deploy AWS Amplify Pull-Request Previews for your open source and public GitHub repository.
With this amplify-preview-actions
GitHub action, you can define your own rule to deploy the Pull-Request branch to the AWS Amplify console app page for a preview. For example, you can setup a rule only a pull request is labeled with Ready for review
and is assigned to a reviewer; and clean up the previews after the pull request is merged or closed.
Getting Started
You can include the action in your workflow as actions/amplify-preview-actions@master
.
Basic workflow.yml
Example
Deploy a PR preview branch to the Amplify console App page (not the Previews page) after a reviewer is assigned.
Place in a .yml
file such as this one in your .github/workflows
folder. Refer to the documentation on workflow YAML…