1
0
Fork 0
mirror of https://github.com/GuerillaStudio/now-playing synced 2024-11-29 18:01:40 +00:00

Add Woodpecker config
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Tixie Salander 2024-04-22 10:56:30 +02:00
parent ce79a8be89
commit 9e6c2fa1ad
No known key found for this signature in database
2 changed files with 25 additions and 1 deletions

25
.woodpecker.yaml Normal file
View file

@ -0,0 +1,25 @@
steps:
- name: build hugo
image: alpine:3.19.1
commands:
- apk update
- apk add hugo
- hugo -b 'https://now-playing.web.deuxfleurs.fr'
- name: upload
when:
branch:
- deploy-to-deuxfleurs
image: plugins/s3
settings:
bucket: now-playing
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

View file

@ -43,7 +43,6 @@
{{ end }} {{ end }}
{{ $opts := dict {{ $opts := dict
"transpiler" "dartsass"
"vars" site.Params.styles "vars" site.Params.styles
"enableSourceMap" (not hugo.IsProduction) "enableSourceMap" (not hugo.IsProduction)
}} }}