diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d4698b5faf0b502c61a0f0de86631b4bea0ab187..a0fcc42b13ca627092e24c6ba794812c75021427 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,16 +1,10 @@ -variables: - DOCKER_DRIVER: overlay2 # for speed up pages: - image: alpine/curl:3.14 + image: alpine script: - # make public (artifacts) folder - - mkdir public # get gm - - curl -sL https://github.com/kpym/gm/releases/download/v0.12.0/gm_0.12.0_Linux_64bit.tar.gz | tar -zxvf - gm - # generate index.html from README.md - - ./gm -qc jasonm23-foghorn -t 'Kroum Tzanev' stdin <README.md >public/index.html - # move all sources to public (artifacts) - - mv images public/images + - wget -c https://github.com/kpym/gm/releases/download/v0.17.3/gm_0.17.3_Linux_64bit.tar.gz -O - | tar -C /usr/local/bin -xz gm + # generate index.html from README.md and move all other sources to public + - gm --pages -c jasonm23-foghorn --title 'Kroum Tzanev' '**/*' artifacts: paths: - public