Skip to content
Snippets Groups Projects
Commit 2f2c2b72 authored by Ondřej Surý's avatar Ondřej Surý
Browse files

Install curl and publish artifacts for the deploy phase

parent b62d6955
Branches
Tags
1 merge request!645Gitlab ci documentation
Pipeline #1198 failed with stages
in 9 minutes and 51 seconds
......@@ -92,13 +92,20 @@ build:documentation:
name: "knot-dns-$CI_BUILD_TAG-doc"
paths:
- doc/_build/
expire_in: '1 hour'
deploy:documentation:
<<: *debian_stretch
stage: deploy
before_script:
- apt-get -y install curl
only:
- gitlab-ci-documentation
- tags
- triggers
script:
- "curl --request POST --form token=$WEBSITE_TOKEN --form ref=master --form \"variables[RELEASE_CI_BUILD_TAG]=$CI_BUILD_TAG\" --form \"variables[RELEASE_CI_BUILD_ID]=$CI_BUILD_ID\" https://gitlab.labs.nic.cz/api/v3/projects/5/trigger/builds"
artifacts:
name: "knot-dns-$CI_BUILD_TAG-doc"
paths:
- doc/_build/
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment