Use apt-get and create a blank env file
This commit is contained in:
parent
b719837486
commit
1d68c226bd
1 changed files with 2 additions and 1 deletions
|
@ -11,9 +11,10 @@ cache:
|
||||||
- .cache
|
- .cache
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- apt update && apt install -y curl
|
- apt-get update && apt-get install -y curl
|
||||||
- curl -Lo /tmp/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_Linux-64bit.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
|
||||||
|
- touch .env
|
||||||
- npm ci --cache .npm --prefer-offline --production
|
- npm ci --cache .npm --prefer-offline --production
|
||||||
|
|
||||||
test:
|
test:
|
||||||
|
|
Loading…
Reference in a new issue