From 27b1e05c87359c332a9bd857fed1bdd73016040c Mon Sep 17 00:00:00 2001 From: kana <20081810+kana4@users.noreply.github.com> Date: Fri, 11 Jun 2021 20:21:28 +0100 Subject: [PATCH] MyPaths are not required and fail Inputting paths are not necessary and will break ci, we can just leave paths out. We also changed 'master' to main since anyone reading this is probably going to be making mains --- guide/src/continuous-integration.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/guide/src/continuous-integration.md b/guide/src/continuous-integration.md index 11862010..aed0dada 100644 --- a/guide/src/continuous-integration.md +++ b/guide/src/continuous-integration.md @@ -26,7 +26,7 @@ before_script: - cargo install-update -a script: - - mdbook build path/to/mybook && mdbook test path/to/mybook + - mdbook build && mdbook test ``` ## Deploying Your Book to GitHub Pages @@ -50,10 +50,10 @@ deploy: provider: pages skip-cleanup: true github-token: $GITHUB_TOKEN - local-dir: path/to/mybook/book + local-dir: book keep-history: false on: - branch: master + branch: main ``` That's it! @@ -77,7 +77,7 @@ before_script: - cargo install-update -a script: - - mdbook build path/to/mybook && mdbook test path/to/mybook + - mdbook build && mdbook test deploy: provider: pages @@ -85,10 +85,10 @@ deploy: edge: true cleanup: false github-token: $GITHUB_TOKEN - local-dir: path/to/mybook/book + local-dir: book keep-history: false on: - branch: master + branch: main target_branch: gh-pages ```