How do I write `github action` that `on marge` to ...
# help
k
How do I write
github action
that
on marge
to
main
branch, deploys my stack?
m
Yeah
k
you mean use seed as ci/cd?
what if I don't want to use seed?
b
Your
on
section should look something like this:
Copy code
on:
  push:
    branches: [ main ]
In your job steps you'll want to clone your repo, install/build any dependencies you have, then run your deploy/post-deploy logic.
It's pretty straight forward really, if you don't know how to write Github Actions then it'd be worth your time reading up about them in the official docs and maybe look at a tutorial 🙂
m
I use it. was very annoying to set up but it works
k
Thanks guys