-
Hello. I would like to ask for some help regarding using GitHub Actions on a user’s GitHub Pages site (in my case, https://github.com/janreggie/janreggie.github.io/). I have the following file on
This should perform some action when I push anything to Am I doing something wrong here? Or are GitHub Actions not allowed on these repositories? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
The workflow is set to respond on a push to a branch named |
Beta Was this translation helpful? Give feedback.
-
I… did not notice that. Thank you so much!! |
Beta Was this translation helpful? Give feedback.
The workflow is set to respond on a push to a branch named
main
, but your default branch is namedmaster
. In general the community has been moving away from the termmaster
for the default branch and both GitHub Pages and Actions now support this, so you’ll either need to change the default branch in your repository frommaster
tomain
or change the action to respond on the branch namedmaster
.