Skip to content

Commit

Permalink
Add Woodpecker config
Browse files Browse the repository at this point in the history
  • Loading branch information
TixieSalander committed Apr 22, 2024
1 parent ce79a8b commit 0f6700a
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .woodpecker.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
kind: pipeline
name: default

steps:
- name: build
image: alpine:3.19.1
commands:
- apk update
- apk add hugo dart-sass
- 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

0 comments on commit 0f6700a

Please sign in to comment.