scim-docs/.gitlab-ci.yml
2024-08-29 13:48:36 +02:00

27 lines
539 B
YAML

image: alpine:latest
variables:
HUGO_VERSION: 0.79.0
BUCKET:
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:
- ./hugo --minify
artifacts:
paths:
- public
include:
- remote: 'https://lab.libreho.st/libre.sh/pipelines/-/raw/main/mirror_folder_to_s3.yml'