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

docs: filter to main for example GH Pages config #1715

Merged
merged 3 commits into from
Jan 4, 2022

Conversation

philpax
Copy link
Contributor

@philpax philpax commented Jan 3, 2022

Sanity check:

  • Have you checked to ensure there aren't other open Pull Requests for the same update/change?

This just bit me - the example configuration for automatically building and deploying your website on GitHub Pages doesn't filter for the main branch, so my draft branch ended up being deployed...

Pretty simple fix, shouldn't cause any issues 🙂

@@ -43,6 +43,7 @@ name: Build and deploy GH Pages
jobs:
build:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we just point out that this branch name might change depending on the person in the docs below?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry about the delayed response! Let me know if the second commit is sufficient 🙂

@philpax
Copy link
Contributor Author

philpax commented Jan 3, 2022

Oops, that third commit serves me right for not checking 😅

Happy to squash the commits if that makes your life easier!

@philpax philpax requested a review from Keats January 3, 2022 22:36
Copy link
Collaborator

@Keats Keats left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's fine, thanks!

@Keats Keats merged commit ef26db8 into getzola:master Jan 4, 2022
mwcz pushed a commit to mwcz/zola that referenced this pull request Jan 7, 2022
* docs: filter to main for example GH Pages config

* docs: update GH Pages wording to indicate choice of branch

* docs: typo fix
thomasantony pushed a commit to thomasantony/zola that referenced this pull request Sep 17, 2022
* docs: filter to main for example GH Pages config

* docs: update GH Pages wording to indicate choice of branch

* docs: typo fix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants