1
0
Fork 0
mirror of https://github.com/GuerillaStudio/now-playing synced 2024-11-07 12:11:52 +00:00
now-playing/.woodpecker.yaml
Tixie a13a543139
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Expose UMAMI variables to the CI build environment
2024-04-24 21:30:39 +02:00

28 lines
681 B
YAML

steps:
- name: build hugo
image: alpine:3.19.1
commands:
- export UMAMI_DOMAIN=$UMAMI_DOMAIN
- export UMAMI_ID=$UMAMI_ID
- apk update
- apk add hugo
- hugo -b 'https://music.guerilla.studio'
secrets: [ 'umami_domain', 'umami_id' ]
- name: upload
when:
branch:
- main
image: plugins/s3
settings:
bucket: music.guerilla.studio
endpoint: https://garage.deuxfleurs.fr
region: garage
access_key:
from_secret: aws_access_key_id
secret_key:
from_secret: aws_secret_access_key
source: public/**/*
target: /
strip_prefix: public/
path_style: true