remove an extra tag
This commit is contained in:
parent
149b5d372f
commit
ba497b1ee0
|
@ -1,29 +1,25 @@
|
|||
stages:
|
||||
- test
|
||||
- build
|
||||
- deploy
|
||||
|
||||
test:cargo:
|
||||
image: rust:latest
|
||||
stage: test
|
||||
script:
|
||||
- rustc --version && cargo --version # Print version info for debugging
|
||||
- rustup component add clippy
|
||||
- cargo clippy -- -D warnings
|
||||
- cargo test
|
||||
|
||||
build:docs:
|
||||
image: python:3.7-alpine
|
||||
stage: test
|
||||
script:
|
||||
- pip install -U sphinx
|
||||
- mkdir -p public/{es,en}
|
||||
- sphinx-build -b html ./docs/es/source/ public/es
|
||||
- sphinx-build -b html ./docs/en/source/ public/en
|
||||
rules:
|
||||
- if: $CI_COMMIT_REF_NAME != $CI_DEFAULT_BRANCH
|
||||
|
||||
pages:
|
||||
image: python:3.8-alpine
|
||||
stage: deploy
|
||||
script:
|
||||
- pip install -U sphinx
|
||||
- mkdir -p public/{es,en}
|
||||
- sphinx-build -b html ./docs/es/source/ public/es
|
||||
- sphinx-build -b html ./docs/en/source/ public/en
|
||||
- pip install -U sphinx
|
||||
- mkdir -p public/{es,en}
|
||||
- sphinx-build -b html ./docs/es/source/ public/es
|
||||
- sphinx-build -b html ./docs/en/source/ public/en
|
||||
artifacts:
|
||||
paths:
|
||||
- public
|
||||
|
|
Loading…
Reference in New Issue