Skip to content
Snippets Groups Projects
Commit 69b4c3a1 authored by Georgios Bitzes's avatar Georgios Bitzes
Browse files

Start publishing mkdocs site

parent 44152631
No related branches found
No related tags found
No related merge requests found
Pipeline #1499340 failed
...@@ -139,6 +139,29 @@ rpms: ...@@ -139,6 +139,29 @@ rpms:
- branches@eos/quarkdb - branches@eos/quarkdb
- tags@eos/quarkdb - tags@eos/quarkdb
docs:
stage: publish
image: gitlab-registry.cern.ch/eos/gitlab-eos/cc7:latest
dependencies:
- make-docs
script:
- automount
- cat "$STCI_PASSWORD" | kinit stci
- eosfusebind
- yum install -y git
- SNAPSHOT=$(date +%s)
- TARGET="/eos/project/q/quarkdb/www/mkdocs/${CI_COMMIT_REF_NAME}"
- STAGING_AREA="$TARGET-${SNAPSHOT}"
- tree
- cp -r make-docs/site "$STAGING_AREA"
- packaging/replace-directory.sh "$STAGING_AREA" "$TARGET"
tags:
- docker-privileged
retry: 2
only:
- branches@eos/quarkdb
- tags@eos/quarkdb
#docs: #docs:
# stage: publish # stage: publish
# image: gitlab-registry.cern.ch/eos/gitlab-eos/cc7:latest # image: gitlab-registry.cern.ch/eos/gitlab-eos/cc7:latest
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment