react-magma
react-magma copied to clipboard
Update publish-latest.yml
We should update publish-latest so that we are less likely to release accidentally when something is pushed to the main branch.
We need to discuss as a team how we want to solve this.
Options:
- Don't automate this!
- Keep automation, but update to:
- On push to master, ONLY run tests
- On merge to master, everything we currently do
- Remove
Sync main -> devstep
Other things to still solve for:
- Could we select which version to release if there are changes for major/minor/patch within dev?
- Automate creating releases from tags in github
on:
pull_request:
branches:
- deploy
types: [closed]
jobs:
<job id>:
if: github.event.pull_request.merged == true
steps: // the rest of the code
https://github.community/t/trigger-workflow-only-on-pull-request-merge/17359/9