Files
csgowtf/.woodpecker.yml
Giovanni Harting 408ee9df1e
All checks were successful
ci/someci/push/woodpecker Pipeline was successful
switched to woodpecker
2023-03-15 18:31:57 +01:00

44 lines
922 B
YAML

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