Open dimitrilw opened 1 year ago
Oh... I take back a smidge of my bravado. I've done the whole "only run this auto-deployer if repo matches blah-blah" in gitlab, bitbucket, & others that are more "just make bash scripts" for their actions. I forgot that github-actions are a completely different beast. So, I guess that I'm in for some more unexpected learning.
Renaming this issue to ref both CI & CD.
I'll try to make it so that any pushes trigger a workflow that runs just lint && just test
.... then the CD (main branch only) would rely (of course) on CI passing before CD is triggered.
I'm not sure you want this, but I'm going to add a github-actions file to auto-deploy updates to master branch. I've done it before where the action is only taken if the repo matches a specific pattern (i.e.,
dimitrilw/OneLife
) and will add that check to the submitted github-actions so that it will auto-deploy on my repo, but not this main one. Unless you find that you like the auto-deploy method, then we can make that action universal to all repos: yours, mine, and any other fork out there.