updated deploy to delete old files
All checks were successful
Build and Deploy Website / Build Website (push) Has been skipped
Build and Deploy Website / Deploy Website (push) Has been skipped
Build and Deploy Website / Build Dev Website (push) Successful in 1m6s
Build and Deploy Website / Deploy Dev Website (push) Successful in 12s
All checks were successful
Build and Deploy Website / Build Website (push) Has been skipped
Build and Deploy Website / Deploy Website (push) Has been skipped
Build and Deploy Website / Build Dev Website (push) Successful in 1m6s
Build and Deploy Website / Deploy Dev Website (push) Successful in 12s
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
|
- 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-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:
|
env:
|
||||||
FTP_HOST: ${{ secrets.FTP_HOST }}
|
FTP_HOST: ${{ secrets.FTP_HOST }}
|
||||||
FTP_USERNAME: ${{ secrets.FTP_USERNAME }}
|
FTP_USERNAME: ${{ secrets.FTP_USERNAME }}
|
||||||
|
@ -64,7 +64,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-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:
|
env:
|
||||||
FTP_HOST: ${{ secrets.FTP_HOST }}
|
FTP_HOST: ${{ secrets.FTP_HOST }}
|
||||||
FTP_USERNAME: ${{ secrets.FTP_USERNAME }}
|
FTP_USERNAME: ${{ secrets.FTP_USERNAME }}
|
||||||
|
|
Loading…
Reference in a new issue