28 lines
593 B
YAML
28 lines
593 B
YAML
image: alpine:latest
|
|
|
|
variables:
|
|
HUGO_VERSION: 0.79.0
|
|
BUCKET: libre-sh-scim-doc
|
|
BETA_BUCKET: libre-sh-scim-doc-beta
|
|
|
|
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'
|
|
|