-
Notifications
You must be signed in to change notification settings - Fork 12
Add PR Preview actions #381
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: development
Are you sure you want to change the base?
Conversation
This pull request is automatically being deployed by Amplify Hosting (learn more). |
Preview branch generated at https://mh-wip-preview-test.dfy90wyu8dics.amplifyapp.com |
fa5f073
to
920d085
Compare
After @tonybaltovski's comment I adjusted the action to allow the creation of rc branches in Amplify with the built-in preview setting enabled. So this is the best of both worlds. |
role-to-assume: ${{ secrets.AWS_GITHUB_ACTIONS_ROLE }} | ||
output-credentials: true | ||
- name: cleanup PR preview branch | ||
uses: mikehosmar/amplify-preview-actions@sed-replace-all |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you elaborate on what this dependency is?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is an action which contains the amplify commands to create and close branches.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just meant to highlight the "uses: mikehosmar/amplify-preview-actions@sed-replace-all" line. I wasn't sure if that was a link to something in your personal account somewhere and, if so, should we move it to a more accessible location.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did Fork the action to my account to make sure we have a copy which we control. We could fork it to clearpathrobotics if you would like.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, it would be preferable to fork to clearpathrobotics.
Switch to standard app for previews
Two options.