You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! Is there a way to trigger upload only for a specific branch?
Example, when the repo files are changing in the main branch, do the upload, however if the files get change in the feature-X branches - don't trigger the FTP sync.
Thanks a lot
The text was updated successfully, but these errors were encountered:
If you use if: github.ref == 'refs/heads/main' under the job then it should only run on pushes to the main branch (assuming the rest of your yml is the default from the README) see in full below:
Hi! Is there a way to trigger upload only for a specific branch?
Example, when the repo files are changing in the
main
branch, do the upload, however if the files get change in thefeature-X
branches - don't trigger the FTP sync.Thanks a lot
The text was updated successfully, but these errors were encountered: