Woodpecker CI workflow added
All checks were successful
ci/woodpecker/push/default Pipeline was successful
All checks were successful
ci/woodpecker/push/default Pipeline was successful
This commit is contained in:
parent
cd5b49c6c2
commit
8b30703942
1 changed files with 21 additions and 0 deletions
21
.woodpecker/default.yml
Normal file
21
.woodpecker/default.yml
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
steps:
|
||||||
|
|
||||||
|
build:
|
||||||
|
image: node:current-alpine
|
||||||
|
commands:
|
||||||
|
- npm install
|
||||||
|
- npm run build
|
||||||
|
|
||||||
|
deploy:
|
||||||
|
image: drillster/drone-rsync
|
||||||
|
settings:
|
||||||
|
hosts: [ "goldrausch.spittank.eu" ]
|
||||||
|
port: 6666
|
||||||
|
delete: true
|
||||||
|
recursive: true
|
||||||
|
user:
|
||||||
|
from_secret: deploy_ssh_user
|
||||||
|
key:
|
||||||
|
from_secret: deploy_ssh_key
|
||||||
|
source: dist/
|
||||||
|
target: htdocs
|
Loading…
Reference in a new issue