We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0d88750 + b862080 commit f55028bCopy full SHA for f55028b
guide/src/continuous-integration.md
@@ -140,15 +140,15 @@ pages:
140
- export PATH="$PATH:$CARGO_HOME/bin"
141
- mdbook --version || cargo install mdbook
142
script:
143
- - mdbook build -d public
144
- only:
145
- - master
+ - mdbook build -d public
+ rules:
+ - if: '$CI_COMMIT_REF_NAME == "master"'
146
artifacts:
147
- paths:
148
- - public
+ paths:
+ - public
149
cache:
150
paths:
151
- - $CARGO_HOME/bin
+ - $CARGO_HOME/bin
152
```
153
154
After you commit and push this new file, GitLab CI will run and your book will be available!
0 commit comments