scim-docs/.gitlab-ci.yml

28 lines
539 B
YAML
Raw Normal View History

2024-08-29 10:10:19 +00:00
image: alpine:latest
variables:
HUGO_VERSION: 0.79.0
2024-08-29 11:48:36 +00:00
BUCKET:
2024-08-29 10:10:19 +00:00
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'