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

This commit is contained in:
Tixie Salander 2024-06-06 22:00:42 +02:00
parent 0798ae1610
commit 86810df454

24
.woodpecker.yaml Normal file
View file

@ -0,0 +1,24 @@
steps:
- name: build
image: node:12.18.0
commands:
- npm ci
- npm run build -- --public-url https://souvenir.cam
- name: upload
when:
branch:
- main
image: plugins/s3
settings:
bucket: souvenir.cam
endpoint: https://garage.deuxfleurs.fr
region: garage
access_key:
from_secret: aws_access_key_id
secret_key:
from_secret: aws_secret_access_key
source: dist/**/*
target: /
strip_prefix: dist/
path_style: true