codeanitdotcom / codeanitdotcom.github.io

codeanit.com by @codeanit
https://codeanit.com
MIT License
0 stars 1 forks source link

Netlify Github Actions #5

Open anitsh opened 4 years ago

anitsh commented 4 years ago

Objective:

  • When a branch is merged to master, deploy to Netlify.

Probable Solution

  • Github actions can be used for CI/CD process.

References:

Tasks:

anitsh commented 4 years ago

https://github.com/nektos/act Run your GitHub Actions locally! Why would you want to do this? Two reasons: Fast Feedback - Rather than having to commit/push every time you want to test out the changes you are making to your .github/workflows/ files (or for any changes to embedded GitHub actions), you can use act to run the actions locally. The environment variables and filesystem are all configured to match what GitHub provides. Local Task Runner - I love make. However, I also hate repeating myself. With act, you can use the GitHub Actions defined in your .github/workflows/ to replace your Makefile!

anitsh commented 4 years ago

Could be relevant https://www.christopherbiscardi.com/post/shipping-multipackage-repos-with-github-actions-changesets-and-lerna