1
Fork 0

Recursive checkout and use curl to download

This commit is contained in:
Jake Howard 2020-10-09 19:48:51 +01:00
parent 09157bf9d6
commit 769ef77dcd
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -2,6 +2,7 @@ image: "node:lts-slim"
variables: variables:
HUGO_VERSION: "0.73.0" HUGO_VERSION: "0.73.0"
GIT_SUBMODULE_STRATEGY: recursive
cache: cache:
key: ${CI_COMMIT_REF_SLUG} key: ${CI_COMMIT_REF_SLUG}
@ -10,7 +11,7 @@ cache:
- .cache - .cache
before_script: before_script:
- wget https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_Linux-64bit.deb -O /tmp/hugo.deb - curl -Lo /tmp/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_Linux-64bit.deb
- dpkg -i /tmp/hugo.deb - dpkg -i /tmp/hugo.deb
- npm ci --cache .npm --prefer-offline --production - npm ci --cache .npm --prefer-offline --production