-
-
Notifications
You must be signed in to change notification settings - Fork 120
Re-arrange Github Actions yaml #392
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Remove ticks around hugoVersion, re-arranges values to match the docs
I think we're going to need to add |
Did you see https://github.com/peaceiris/actions-hugo#%EF%B8%8F-create-your-workflow which does not use docker? |
I did! We were using that action previously before the first merge in this group. I wasn't finding any config to push to a different repository, so I was going for the easiest thing. We could stick with the peaceiris action, but we may need a token anyway to push the built code into a new repo, right? |
Can we create a org-wide token that works in both repos? |
Ok, two things, @mattip @rgommers:
It seems it made it past the githubToken error and died on attempting to |
Indeed. I believe the other way to do this is to create a dummy user (e.g., |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @joelachance, let's give this a try.
Sounds good! I don't mind, if something weird comes up and we need to change the token, i don't see that being a big problem. |
Still failing:
Let me check that now. |
Hmm, you have write access and there's no branch protection rules on that repo. So it should have worked. That's the second time, after @mattip not being able to merge PRs on this repo. Not sure what is wrong. |
Ah, understood Matti's issue. Apparently permissions changed, this now requires full admin permission:
@mattip next time if you approve first, you should be able to merge I believe. |
I enabled branch protection on the |
Same thing again, didn't fix the push permissions. I'll try a bit more. |
Okay I changed to token to one I generated, and that fixed it. |
* Re-arrange Github Actions yaml Remove ticks around hugoVersion, re-arranges values to match the docs * Remove siteDir from Github Actions
Remove ticks around hugoVersion, re-arranges values to match the docs