forked from samuel-p/sp-codes.de
updated deploy to delete old files
This commit is contained in:
parent
e61847a57d
commit
1336db4c80
1 changed files with 2 additions and 2 deletions
|
@ -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/ dev.sp-codes.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-codes.de/; bye" -u $FTP_USERNAME,$FTP_PASSWORD $FTP_HOST
|
||||
env:
|
||||
FTP_HOST: ${{ secrets.FTP_HOST }}
|
||||
FTP_USERNAME: ${{ secrets.FTP_USERNAME }}
|
||||
|
@ -64,7 +64,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-codes.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-codes.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