switched to woodpecker
All checks were successful
ci/someci/push/woodpecker Pipeline was successful

This commit is contained in:
2023-03-15 17:20:59 +01:00
parent 36fbe8a685
commit 408ee9df1e
3 changed files with 44 additions and 63 deletions

43
.woodpecker.yml Normal file
View File

@@ -0,0 +1,43 @@
pipeline:
install dependencies:
image: node:19
commands:
- yarn install --immutable
pull: true
build:
image: node:19
commands:
- yarn build
secrets: [ vue_app_api_url, vue_app_track_url, vue_app_track_id, vue_app_tracking ]
pull: true
deploy:
image: cschlosser/drone-ftps
settings:
hostname:
from_secret: ftp_host
src_dir: "/dist/"
clean_dir: true
secrets: [ ftp_username, ftp_password ]
when:
branch: master
event: [ push, tag ]
status: success
deploy (dev):
image: cschlosser/drone-ftps
settings:
hostname:
from_secret: ftp_host
src_dir: "/dist/"
clean_dir: true
secrets:
- source: ftp_username_dev
target: ftp_username
- source: ftp_password_dev
target: ftp_password
when:
branch: dev
event: [push, tag]
status: success