Closed jcbhmr closed 1 year ago
: / I need to look into this!
OHHH I know why. I forgot to let you know that you should disable the silly auto-default environment requirement that you have to deploy from main (which only applies to newly created environments that are named "github-pages"):
This is the default setting:
It works well for things like this:
BUT when you create a release and run the deploy-pages with a TAG as the base instead of MAIN, then it fails (and rightly so! That's what it was told to do 🤣)
So what you need to do is in https://github.com/mesqueeb/is-what/settings/environments, click on github-pages
and then drink in the config screen:
and then either a) remove the protection altogether or b) reconfigure it so that it allows tags. IMO the simplest is to remove the protection which is the default for all other environments. The "github-pages" environment is one of (if not the only) special environment that when created gets special defaults! All others default to absolutely zero restrictions. For instance, if you change:
to:
name: github-pages-hello
then it will create a new github-pages-hello
environment which isn't the special name "github-pages" and therefore will default to no extra special restrictions. Works with no problem! How silly is that! 🤣 It's all because of the default special restrictions for the environment named "github-pages" 🤦♂️
@jcbhmr cool i deleted the environment
@mesqueeb It works!