DevOps - matai-2020/ABA GitHub Wiki
Goal: Engineer automated processes for testing of PR requests and automation of deployment to Heroku on merge to master
Read Docs and/or Google what Actions are before starting
1. What are Actions?
Github Actions are automated common processes like testing and deploying code. An example: is when a Push Request is made to Master, you can set up an action that will automatically run tests and then automatically deploy the code if those tests are successful.
2. How do you create an Action?
-Select 'Actions' within your repo. -Select 'New workflow'. -Select a template to build your workflow (we used Node.js for our tests script) || select 'Set up a workflow yourself' -You will need to customise the workflow selected so that the action is suitable to your needs (google what it is you require or view the Docs on the right hand side menu) -Select 'Start commit' to create your action