souvenir/.woodpecker.yaml
Tixie 86810df454
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Add woodpecker-ci config
2024-06-06 22:28:54 +02:00

24 lines
528 B
YAML

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