mirror of
https://github.com/GuerillaStudio/now-playing
synced 2024-11-26 06:41:41 +00:00
Add Woodpecker config
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
ce79a8be89
commit
9e6c2fa1ad
2 changed files with 25 additions and 1 deletions
25
.woodpecker.yaml
Normal file
25
.woodpecker.yaml
Normal 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
|
|
@ -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)
|
||||||
}}
|
}}
|
||||||
|
|
Loading…
Reference in a new issue