Closed lmweber closed 2 years ago
Thanks Lukas! Though this is not part of biocthis
. It's part of some other GitHub actions workflows you and I have used elsewhere. It's great to know about it though, so thanks for sharing the news here =)
Best, Leo
Hi @lcolladotor , I'm not completely sure if this is the right place for this, but I found out there have been some changes to GitHub permissions / authentication affecting the deploy action with
JamesIves/github-pages-deploy-action
that we had in the OSTA GitHub Actions workflow.Specifically, the line
needs to be updated to v4:
to use the latest version where @JamesIves has updated this.
I suspect the fix is in the updated handling of permissions in this release, although I'm not completely sure: https://github.com/JamesIves/github-pages-deploy-action/releases/tag/v4.3.3
Then, to use v4, some of the syntax for the action has also changed, specifically:
with: token
(lower-casetoken
instead ofGITHUB_TOKEN
), and also lower-case forwith: branch
andwith: folder
. These changes are described in the release notes / migration guide here: https://github.com/JamesIves/github-pages-deploy-action/discussions/592So now my Deploy action looks like this, which seems to be working:
vs. the old version that no longer worked:
Here is also the error I was getting with v3 previously:
Also tagging @stephaniehicks for info.
Thank you!!