Work on CI/CD
Some checks failed
Deploy / build (push) Successful in 8s
Deploy / deploy (push) Failing after 5s

This commit is contained in:
Aloïs Micard 2024-12-23 12:40:59 +01:00
parent f3c09b232b
commit 73d66ad1bb

View file

@ -28,15 +28,13 @@ jobs:
runs-on: docker runs-on: docker
steps: steps:
- uses: actions/download-artifact@v3 - uses: actions/download-artifact@v3
path: public
with: with:
name: website name: website
- name: Install lftp - name: Install lftp
run: | run: |
ls -altr
apt update apt update
apt install -y lftp 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 . ~/$FTP_DIR; quit"