From c0c28aa679f93d7b77762148b550e78407bc38b5 Mon Sep 17 00:00:00 2001 From: Samuel Philipp Date: Wed, 6 Dec 2023 03:26:25 +0100 Subject: [PATCH 1/2] removed woodpecker --- .woodpecker.yml.old | 67 --------------------------------------------- 1 file changed, 67 deletions(-) delete mode 100644 .woodpecker.yml.old diff --git a/.woodpecker.yml.old b/.woodpecker.yml.old deleted file mode 100644 index 23310ef..0000000 --- a/.woodpecker.yml.old +++ /dev/null @@ -1,67 +0,0 @@ -pipeline: - build: - image: node:lts - commands: - - npm install - - npm run build - build-de: - image: node:lts - commands: - - npm install - - npm run build:de - 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/en/ dev.samuel-philipp.com/; bye" -u $FTP_USERNAME,$FTP_PASSWORD $FTP_HOST - when: - branch: - - develop - event: - - push - deploy-dev-de: - 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/de/ 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/en/ samuel-philipp.com/; bye" -u $FTP_USERNAME,$FTP_PASSWORD $FTP_HOST - when: - branch: - - main - event: - - push - deploy-de: - 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/de/ samuel-philipp.de/; bye" -u $FTP_USERNAME,$FTP_PASSWORD $FTP_HOST - when: - branch: - - main - event: - - push From 19a87241eeee482e1fe486a73866694235d28814 Mon Sep 17 00:00:00 2001 From: Samuel Philipp Date: Wed, 6 Dec 2023 23:21:09 +0100 Subject: [PATCH 2/2] updated workflow --- .forgejo/workflows/build-deploy.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.forgejo/workflows/build-deploy.yml b/.forgejo/workflows/build-deploy.yml index 58caf5a..d85f8dc 100644 --- a/.forgejo/workflows/build-deploy.yml +++ b/.forgejo/workflows/build-deploy.yml @@ -1,10 +1,6 @@ name: Build and Deploy Website -on: - push: - branches: - - main - - develop +on: [push] jobs: build: