remove an extra tag

This commit is contained in:
Abraham Toriz 2021-12-03 08:57:22 -06:00
parent 149b5d372f
commit ba497b1ee0
No known key found for this signature in database
GPG Key ID: D5B4A746DB5DD42A
1 changed files with 11 additions and 15 deletions

View File

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