Recursive checkout and use curl to download
This commit is contained in:
parent
09157bf9d6
commit
769ef77dcd
1 changed files with 2 additions and 1 deletions
|
@ -2,6 +2,7 @@ image: "node:lts-slim"
|
|||
|
||||
variables:
|
||||
HUGO_VERSION: "0.73.0"
|
||||
GIT_SUBMODULE_STRATEGY: recursive
|
||||
|
||||
cache:
|
||||
key: ${CI_COMMIT_REF_SLUG}
|
||||
|
@ -10,7 +11,7 @@ cache:
|
|||
- .cache
|
||||
|
||||
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
|
||||
- npm ci --cache .npm --prefer-offline --production
|
||||
|
||||
|
|
Loading…
Reference in a new issue