added .woodpecker.yml
added umami
This commit is contained in:
parent
fe7ba3a018
commit
59275e7da5
2 changed files with 36 additions and 0 deletions
34
.woodpecker.yml
Normal file
34
.woodpecker.yml
Normal file
|
@ -0,0 +1,34 @@
|
|||
pipeline:
|
||||
build:
|
||||
image: node:lts
|
||||
commands:
|
||||
- npm install
|
||||
- npm run build
|
||||
deploy-dev:
|
||||
image: alpine
|
||||
secrets:
|
||||
- FTP_HOST
|
||||
- FTP_USERNAME
|
||||
- FTP_PASSWORD
|
||||
commands:
|
||||
- which lftp || ( apk --update add lftp )
|
||||
- lftp -e "set ftp:ssl-force true; set ssl:verify-certificate no; mirror -R ./dist/ dev.samuel-philipp.de/; bye" -u $FTP_USERNAME,$FTP_PASSWORD $FTP_HOST
|
||||
when:
|
||||
branch:
|
||||
- develop
|
||||
event:
|
||||
- push
|
||||
deploy:
|
||||
image: alpine
|
||||
secrets:
|
||||
- FTP_HOST
|
||||
- FTP_USERNAME
|
||||
- FTP_PASSWORD
|
||||
commands:
|
||||
- which lftp || ( apk --update add lftp )
|
||||
- lftp -e "set ftp:ssl-force true; set ssl:verify-certificate no; mirror -R ./dist/ samuel-philipp.de/; bye" -u $FTP_USERNAME,$FTP_PASSWORD $FTP_HOST
|
||||
when:
|
||||
branch:
|
||||
- main
|
||||
event:
|
||||
- push
|
Loading…
Add table
Add a link
Reference in a new issue