mirror of
https://github.com/GuerillaStudio/souvenir.git
synced 2024-09-07 23:14:53 +00:00
Add woodpecker-ci 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
0798ae1610
commit
86810df454
1 changed files with 24 additions and 0 deletions
24
.woodpecker.yaml
Normal file
24
.woodpecker.yaml
Normal 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
|
Loading…
Reference in a new issue