Move docs to deploy stage
This commit is contained in:
parent
d70ba748f5
commit
1618dc317f
1 changed files with 4 additions and 3 deletions
|
@ -4,6 +4,7 @@ stages:
|
||||||
- test
|
- test
|
||||||
- build
|
- build
|
||||||
- release
|
- release
|
||||||
|
- deploy
|
||||||
|
|
||||||
test:
|
test:
|
||||||
stage: test
|
stage: test
|
||||||
|
@ -50,8 +51,8 @@ release:
|
||||||
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
|
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
|
||||||
- goreleaser release --rm-dist
|
- goreleaser release --rm-dist
|
||||||
|
|
||||||
docs:
|
pages:
|
||||||
stage: release
|
stage: deploy
|
||||||
image: registry.gitlab.com/inetmock/ci-image/mdbook
|
image: registry.gitlab.com/inetmock/ci-image/mdbook
|
||||||
only:
|
only:
|
||||||
refs:
|
refs:
|
||||||
|
@ -61,4 +62,4 @@ docs:
|
||||||
- mdbook build -d ./../public ./docs
|
- mdbook build -d ./../public ./docs
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- public
|
- public
|
||||||
|
|
Loading…
Reference in a new issue