From 59275e7da5f483da7cf528316764977da44ab2be Mon Sep 17 00:00:00 2001 From: samuel-p Date: Sat, 2 Oct 2021 01:14:16 +0200 Subject: [PATCH] added .woodpecker.yml added umami --- .woodpecker.yml | 34 ++++++++++++++++++++++++++++++++++ src/index.html | 2 ++ 2 files changed, 36 insertions(+) create mode 100644 .woodpecker.yml diff --git a/.woodpecker.yml b/.woodpecker.yml new file mode 100644 index 0000000..0b58258 --- /dev/null +++ b/.woodpecker.yml @@ -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 diff --git a/src/index.html b/src/index.html index 044d01d..d17b7b1 100644 --- a/src/index.html +++ b/src/index.html @@ -32,6 +32,8 @@ +