updated deploy to delete old files
Some checks failed
Build and Deploy Website / Deploy Dev Website (push) Blocked by required conditions
Build and Deploy Website / Deploy Website (push) Blocked by required conditions
Build and Deploy Website / Build Website (push) Has been cancelled

This commit is contained in:
Samuel Philipp 2024-04-10 01:17:40 +02:00
parent d04a3cfcc6
commit d832a309b1

View file

@ -30,7 +30,7 @@ jobs:
- name: Install Dependencies - name: Install Dependencies
run: which lftp || ( apk --update add lftp ) run: which lftp || ( apk --update add lftp )
- name: Deploy Website - name: Deploy Website
run: lftp -e "set ftp:ssl-force true; set ssl:verify-certificate no; mirror -R ./build/ dev.sp-magic.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/ dev.sp-magic.de/; bye" -u $FTP_USERNAME,$FTP_PASSWORD $FTP_HOST
env: env:
FTP_HOST: ${{ secrets.FTP_HOST }} FTP_HOST: ${{ secrets.FTP_HOST }}
FTP_USERNAME: ${{ secrets.FTP_USERNAME }} FTP_USERNAME: ${{ secrets.FTP_USERNAME }}
@ -47,7 +47,7 @@ jobs:
- name: Install Dependencies - name: Install Dependencies
run: which lftp || ( apk --update add lftp ) run: which lftp || ( apk --update add lftp )
- name: Deploy Website - name: Deploy Website
run: lftp -e "set ftp:ssl-force true; set ssl:verify-certificate no; mirror -R ./build/ sp-magic.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/ sp-magic.de/; bye" -u $FTP_USERNAME,$FTP_PASSWORD $FTP_HOST
env: env:
FTP_HOST: ${{ secrets.FTP_HOST }} FTP_HOST: ${{ secrets.FTP_HOST }}
FTP_USERNAME: ${{ secrets.FTP_USERNAME }} FTP_USERNAME: ${{ secrets.FTP_USERNAME }}