scim-docs/.gitlab-ci.yml
2024-08-29 12:10:19 +02:00

28 lines
583 B
YAML

image: alpine:latest
variables:
HUGO_VERSION: 0.79.0
BUCKET: portail-relief-aura-fr
stages:
- build
- deploy
before_script:
- apk add --no-cache wget ca-certificates
- wget -O hugo.tar.gz https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_${HUGO_VERSION}_Linux-64bit.tar.gz
- tar xzf hugo.tar.gz hugo
- apk add --no-cache nodejs-current npm
build:
stage: build
script:
- node fetch_file.js
- ./hugo --minify
artifacts:
paths:
- public
include:
- remote: 'https://lab.libreho.st/libre.sh/pipelines/-/raw/main/mirror_folder_to_s3.yml'