-
-
Notifications
You must be signed in to change notification settings - Fork 374
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
Bug: fails if the gh-pages branch doesn't exist #91
Comments
@noc7c9 This problem was fixed by #92 The v3.0.3 has been released and the v3 tag updated. Delete - name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
publish_dir: ./target/deploy |
And all options were renamed on v3. Check actions-gh-pages/action.yml at v3 |
Hey thanks for the quick fix (and the project too!). It's working perfectly now. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Describe the bug
I've attempted to use this action in a new repository where the branch doesn't exist.
I found this issue but it recommends using
ACTIONS_DEPLOY_KEY
which I am and settingemptyCommits: true
which isn't the behaviour I want.I managed to solve this by creating the gh-pages branch and rerunning the workflow but I feel like this action would be much friendlier but not having this issue in the first place.
To Reproduce
Expected behavior
I expected the action to create the branch since it doesn't exist.
Your YAML file
https://github.com/noc7c9/i-love-hue-rs-clone/blob/master/.github/workflows/gh-pages.yml
Relevant part of the file:
The text was updated successfully, but these errors were encountered: