Closed AbhishekPAnil closed 7 months ago
I have tried out the implementation for previewing PR's using the github workflow and a s3 bucket but the implementation was not working properly.I came to the conclusion that we can use aws amplify for this purpose. @saumier I would be implementing the aws amplify for this issue,which has all the preset functionalities for previewing a PR .To implement this I need an aws account which has the access to create "amplify:CreateApp".Would you be able to provide me one or add the permission to an existing IAM user.Thanks.
@AbhishekPAnil I created an IAM user for you, and added you to the group with permissions for amplify.
You can sign-in to the console here: https://culture-creates.signin.aws.amazon.com/console
username: abhishek
See your email for password, then please change your password. Let me know if this works for your need.
This feature is now implemented for culturecreates/footlight-app repo. Once a PR is raised ,the respective branch will be deployed to a aws amplify preview url. @troughc can test with this url.The url will be linked to the respective issue via development setting. @troughc you can see the linked PR from the issue which will redirect you to the PR page and you will see the peview url there.
Please let us know if you want us to add the preview url explicitly in the issue. (Like this example : https://github.com/culturecreates/footlight-app/issues/108#issuecomment-1917691775).
Once Caitlin tests and gives the confirmation we will merge it to staging. @troughc After successful testing please assign the frontend issues back to me so I would be able to merge it.
cc @saumier
I have confirmed that after merging a particular PR the respective preview url will be deleted from aws amplify. Tested using https://github.com/culturecreates/footlight-app/pull/934
Create preview channels for the footlight-app using GitHub Actions and Amazon S3. This workflow seamlessly integrates with AWS services, ensuring a way for testing.
Features: Preview Channels for Pull Requests: Automatically creates preview channels for pull requests. Isolates and deploys pull request changes to unique S3 buckets for easy testing and review.