UMLCloudComputing / UniPath.io

UniPath.io is a full-stack web application that allows users to create, plan, and share their class schedules for their entire degree program.
https://www.unipath.io
MIT License
9 stars 19 forks source link

Chore: Allow GitHub Actions to check for build/deploy status on AWS Amplify #203

Open MartinMarwad opened 3 months ago

MartinMarwad commented 3 months ago

https://github.com/UMLCloudComputing/UniPath.io/blob/1c1e0e36c39cf49bcdeef187224f5085ff059f2f/.github/workflows/ci.yaml#L37

Need to modify the GitHub Actions for check if the corresponding branch on AWS Amplify is failing the build/deployment. This could be a separate check or part of the same job. It needs to output a message saying if the build on Amplify's side was successful or not and pass or fail the job accordingly.

MartinMarwad commented 3 months ago

We could also probably handle deployments through just GitHub Actions using the npx ampx command:

https://github.com/UMLCloudComputing/UniPath.io/blob/8fa93306019bed83ca5d068268e2f6033eaf1614/amplify.yml#L9