Skip to content
Snippets Groups Projects
Commit 4eda39fb authored by Nicolas Borboën's avatar Nicolas Borboën
Browse files

[WIP]

parent fcda1efa
Branches
Tags
No related merge requests found
Pipeline #16504 failed
......@@ -28,19 +28,14 @@ test:
- echo $CI_COMMIT_REF_NAME
- echo $(date '+%Y%m%d')
build:
stage: build
except:
- tags
- pdf@idevelop/howtogitlabrunner
# only:
# changes:
# - "README.md"
script:
- git checkout master
- git pull
- git fetch --all
- mkdir -p ./public && pandoc README.md -o ./public/README.pdf
- mkdir -p && pandoc README.md -o README.pdf
artifacts:
paths:
- public
......@@ -51,7 +46,10 @@ deploy_to_release:
- tags
- pdf@idevelop/howtogitlabrunner
script:
- git checkout master
- git clone git@gitlab.epfl.ch:idevelop/howtogitlabrunner.wiki.git wiki
- cp README.pdf wiki/public/
- echo \n$(date '+%Y-%m-%d %H:%M:%S') >> wiki/home.md
- cd wiki
- git commit -am "New PDF file $(date '+%Y-%m-%d %H:%M:%S')"
- git push --push-option=ci.skip origin master
# # https://docs.gitlab.com/ee/ci/yaml/README.html#skipping-jobs
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment