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 ```