diff --git a/.woodpecker.yaml b/.woodpecker.yaml new file mode 100644 index 0000000..2f0e718 --- /dev/null +++ b/.woodpecker.yaml @@ -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 diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 5c4dbe7..dbb7e12 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -43,7 +43,6 @@ {{ end }} {{ $opts := dict - "transpiler" "dartsass" "vars" site.Params.styles "enableSourceMap" (not hugo.IsProduction) }}