updated deploy to delete old files
This commit is contained in:
parent
d04a3cfcc6
commit
d832a309b1
1 changed files with 2 additions and 2 deletions
|
@ -30,7 +30,7 @@ jobs:
|
|||
- name: Install Dependencies
|
||||
run: which lftp || ( apk --update add lftp )
|
||||
- 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:
|
||||
FTP_HOST: ${{ secrets.FTP_HOST }}
|
||||
FTP_USERNAME: ${{ secrets.FTP_USERNAME }}
|
||||
|
@ -47,7 +47,7 @@ jobs:
|
|||
- name: Install Dependencies
|
||||
run: which lftp || ( apk --update add lftp )
|
||||
- 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:
|
||||
FTP_HOST: ${{ secrets.FTP_HOST }}
|
||||
FTP_USERNAME: ${{ secrets.FTP_USERNAME }}
|
||||
|
|
Loading…
Reference in a new issue