Skip to content
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

support: The depoly step is skipped and gh-pages doesn't generated #924

Closed
3 tasks done
quanshengwu opened this issue Jun 15, 2023 · 3 comments
Closed
3 tasks done
Assignees
Labels

Comments

@quanshengwu
Copy link

Checklist

  • I am using the latest version of this action.
  • I have read the latest README and followed the instructions.
  • I have read the latest GitHub Actions official documentation and learned the basic spec and concepts.

Describe your question

Dear Sir/Madame,

Thanks for developing such wonderful tools.

I am using it together with Sphinx to generate gh-pages for my code. Now I meet the following problem.
image
Everything works fine except the Deploy step is skipped and the gh-pages branch doesn't generate.

Firstly, as a test, I followed the steps in https://coderefinery.github.io/documentation/gh_workflow/ and build a test-sphinx code (https://github.com/quanshengwu/test-sphinx). Everything works fine. The gh-pages branch was generated successfully.

Then I use modified the workflow a little bit to fit my repository, it just doesn't generate the right gh-pages branch.

Any help would be appreciated.

Best regards,
QuanSheng Wu

Relevant links

Public repository:https://github.com/quanshengwu/wannier_tools
YAML config:
YAML workflow: https://github.com/quanshengwu/wannier_tools/blob/master/.github/workflows/sphinx.yaml

Relevant log output

image

https://github.com/quanshengwu/wannier_tools/actions/runs/5281530268/jobs/9555239351

Additional context.

No response

@quanshengwu quanshengwu added the support User support label Jun 15, 2023
@peaceiris
Copy link
Owner

Please check this filter.

- if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
+ if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}

@quanshengwu
Copy link
Author

@peaceiris
Thank you so so much for you quick reply. It works just great!

@github-actions
Copy link
Contributor

This issue has been LOCKED because of it being resolved!

The issue has been fixed and is therefore considered resolved.
If you still encounter this or it has changed, open a new issue instead of responding to solved ones.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 16, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants