Work on CI/CD
This commit is contained in:
parent
511011b46a
commit
1204f758d2
1 changed files with 3 additions and 1 deletions
|
@ -32,7 +32,9 @@ jobs:
|
||||||
name: website
|
name: website
|
||||||
|
|
||||||
- name: Install lftp
|
- name: Install lftp
|
||||||
run: apt install -y lftp
|
run: |
|
||||||
|
apt update
|
||||||
|
apt install -y lftp
|
||||||
|
|
||||||
- name: Deploy website
|
- name: Deploy website
|
||||||
run: lftp -c "open -u $FTP_USER,$FTP_PASS $FTP_HOST; mirror -R public/ ~/$FTP_DIR; quit"
|
run: lftp -c "open -u $FTP_USER,$FTP_PASS $FTP_HOST; mirror -R public/ ~/$FTP_DIR; quit"
|
Loading…
Add table
Add a link
Reference in a new issue