From c6c3b3426c386c1b36f40cded30ca0c23e078734 Mon Sep 17 00:00:00 2001 From: Samuel Philipp Date: Wed, 6 Dec 2023 02:49:23 +0100 Subject: [PATCH] updated workflow some fixes --- .forgejo/workflows/build-deploy.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.forgejo/workflows/build-deploy.yml b/.forgejo/workflows/build-deploy.yml index 936e624..e6ca3c8 100644 --- a/.forgejo/workflows/build-deploy.yml +++ b/.forgejo/workflows/build-deploy.yml @@ -33,7 +33,9 @@ jobs: - github.ref == 'refs/heads/develop' steps: - uses: actions/download-artifact@v3 + - name: Install Dependencies + run: which lftp || ( apk --update add lftp ) - name: Deploy English Version - run: echo "deploy dev en" + run: 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 - name: Deploy German Version - run: echo "deploy dev de" + run: 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