Replies: 4 comments 1 reply
-
Can you try upgrading the action to the latest version? You're still running on version 1 and a lot has changed since then. What you have should be fine, just change the version number to |
Beta Was this translation helpful? Give feedback.
-
ok thanks , i assumed master would include the latest changes.. i'll try changing it |
Beta Was this translation helpful? Give feedback.
-
With the new version I get "error branch is required". On the plus side, deployment fails now. Should I add a step to create a branch from the detached HEAD state ? |
Beta Was this translation helpful? Give feedback.
-
thanks, that worked :-) |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
Thanks very much for your hard work on this. I've got a problem and I'm not sure the best approach to deal with it. I want to use this action on push, only with a specific git tag, but when I do that it ends up deleting my gh-pages branch and yet says deployment successful. With no tag, it works fine.
any ideas what I should do? I guess the git tag checkout is a detached head and has no notion of gh-pages branch?
thanks!
action log:
`
on:
push:
tags:
- "v*"
uses: JamesIves/github-pages-deploy-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BASE_BRANCH: master
BRANCH: gh-pages
FOLDER: ${{env.PROJECT_NAME}}/build-web
`
Beta Was this translation helpful? Give feedback.
All reactions