From b28ff13ddd030f52c9e16c7e9469879876e8c6f1 Mon Sep 17 00:00:00 2001 From: Samuel Philipp Date: Wed, 10 Apr 2024 01:15:25 +0200 Subject: [PATCH] updated deploy to delete old files --- .forgejo/workflows/build-deploy.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.forgejo/workflows/build-deploy.yml b/.forgejo/workflows/build-deploy.yml index 0bc9881..f1638c5 100644 --- a/.forgejo/workflows/build-deploy.yml +++ b/.forgejo/workflows/build-deploy.yml @@ -51,13 +51,13 @@ jobs: - name: Install Dependencies run: which lftp || ( apk --update add lftp ) - name: Deploy English Version - run: lftp -e "set ftp:ssl-force true; set ssl:verify-certificate no; mirror -R ./build/en/ dev.samuel-philipp.com/; bye" -u $FTP_USERNAME,$FTP_PASSWORD $FTP_HOST + run: lftp -e "set ftp:ssl-force true; set ssl:verify-certificate no; mirror -R -e ./build/en/ dev.samuel-philipp.com/; bye" -u $FTP_USERNAME,$FTP_PASSWORD $FTP_HOST env: FTP_HOST: ${{ secrets.FTP_HOST }} FTP_USERNAME: ${{ secrets.FTP_USERNAME }} FTP_PASSWORD: ${{ secrets.FTP_PASSWORD }} - name: Deploy German Version - run: lftp -e "set ftp:ssl-force true; set ssl:verify-certificate no; mirror -R ./build/de/ dev.samuel-philipp.de/; bye" -u $FTP_USERNAME,$FTP_PASSWORD $FTP_HOST + run: lftp -e "set ftp:ssl-force true; set ssl:verify-certificate no; mirror -R -e ./build/de/ dev.samuel-philipp.de/; bye" -u $FTP_USERNAME,$FTP_PASSWORD $FTP_HOST env: FTP_HOST: ${{ secrets.FTP_HOST }} FTP_USERNAME: ${{ secrets.FTP_USERNAME }} @@ -74,13 +74,13 @@ jobs: - name: Install Dependencies run: which lftp || ( apk --update add lftp ) - name: Deploy English Version - run: lftp -e "set ftp:ssl-force true; set ssl:verify-certificate no; mirror -R ./build/en/ samuel-philipp.com/; bye" -u $FTP_USERNAME,$FTP_PASSWORD $FTP_HOST + run: lftp -e "set ftp:ssl-force true; set ssl:verify-certificate no; mirror -R -e ./build/en/ samuel-philipp.com/; bye" -u $FTP_USERNAME,$FTP_PASSWORD $FTP_HOST env: FTP_HOST: ${{ secrets.FTP_HOST }} FTP_USERNAME: ${{ secrets.FTP_USERNAME }} FTP_PASSWORD: ${{ secrets.FTP_PASSWORD }} - name: Deploy German Version - run: lftp -e "set ftp:ssl-force true; set ssl:verify-certificate no; mirror -R ./build/de/ samuel-philipp.de/; bye" -u $FTP_USERNAME,$FTP_PASSWORD $FTP_HOST + run: lftp -e "set ftp:ssl-force true; set ssl:verify-certificate no; mirror -R -e ./build/de/ samuel-philipp.de/; bye" -u $FTP_USERNAME,$FTP_PASSWORD $FTP_HOST env: FTP_HOST: ${{ secrets.FTP_HOST }} FTP_USERNAME: ${{ secrets.FTP_USERNAME }}