1
Fork 0

Use apt-get and create a blank env file

This commit is contained in:
Jake Howard 2020-10-09 20:09:19 +01:00
parent b719837486
commit 1d68c226bd
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -11,9 +11,10 @@ cache:
- .cache
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
- dpkg -i /tmp/hugo.deb
- touch .env
- npm ci --cache .npm --prefer-offline --production
test: