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

Ignores gh-pages when building and automatically run tests before committing #71

Merged
merged 3 commits into from
Feb 27, 2018

Conversation

cvalenzuela
Copy link
Member

No description provided.

when publishing to gh-pages with docusaurous, CircleCI will ignore the branch gh-pages
@@ -12,6 +12,9 @@ jobs:
# CircleCI maintains a library of pre-built images
# documented at https://circleci.com/docs/2.0/circleci-images/
# - image: circleci/mongo:3.4.4

branches:
ignore: gh-pages
Copy link
Member

Choose a reason for hiding this comment

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

This is ignored b/c it is automatically generated? Should we have a test in place to test that there were no markdown errors or otherwise when generating?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes, tests for the website should still run from the master branch (we don't have any yet!). But the gh-pages is auto-generated from Docusaurus, so there's no need to run tests on it.

@shiffman shiffman merged commit 8ac6166 into master Feb 27, 2018
@cvalenzuela cvalenzuela deleted the npmSetup branch March 13, 2018 03:58
joeyklee pushed a commit that referenced this pull request Jun 2, 2019
Ignores gh-pages when building and automatically run tests before committing
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.

None yet

2 participants