From 7911f157bdfab95407dcc56b401698f89224f252 Mon Sep 17 00:00:00 2001 From: Samuel Philipp Date: Wed, 6 Dec 2023 03:13:25 +0100 Subject: [PATCH] updated workflow --- .forgejo/workflows/build-deploy.yml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/.forgejo/workflows/build-deploy.yml b/.forgejo/workflows/build-deploy.yml index b8a7699..58caf5a 100644 --- a/.forgejo/workflows/build-deploy.yml +++ b/.forgejo/workflows/build-deploy.yml @@ -38,15 +38,15 @@ jobs: - 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 env: - ftp_host: ${{ secrets.FTP_HOST }} - ftp_username: ${{ secrets.FTP_USERNAME }} - ftp_password: ${{ secrets.FTP_PASSWORD }} + 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 env: - ftp_host: ${{ secrets.FTP_HOST }} - ftp_username: ${{ secrets.FTP_USERNAME }} - ftp_password: ${{ secrets.FTP_PASSWORD }} + FTP_HOST: ${{ secrets.FTP_HOST }} + FTP_USERNAME: ${{ secrets.FTP_USERNAME }} + FTP_PASSWORD: ${{ secrets.FTP_PASSWORD }} deploy: name: Deploy Website runs-on: docker @@ -61,12 +61,12 @@ jobs: - 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 env: - ftp_host: ${{ secrets.FTP_HOST }} - ftp_username: ${{ secrets.FTP_USERNAME }} - ftp_password: ${{ secrets.FTP_PASSWORD }} + 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 env: - ftp_host: ${{ secrets.FTP_HOST }} - ftp_username: ${{ secrets.FTP_USERNAME }} - ftp_password: ${{ secrets.FTP_PASSWORD }} + FTP_HOST: ${{ secrets.FTP_HOST }} + FTP_USERNAME: ${{ secrets.FTP_USERNAME }} + FTP_PASSWORD: ${{ secrets.FTP_PASSWORD }}