From 0dd9e75efeb95714e4430ba3ae20d4945d9b1888 Mon Sep 17 00:00:00 2001 From: Shubham Lal Date: Fri, 22 Dec 2023 12:48:54 +0530 Subject: [PATCH] fix deploy action --- .github/workflows/main.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index da9358d..c985586 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -24,6 +24,9 @@ jobs: npm install npm run build + - name: Install lftp + run: sudo apt install lftp + - name: Deploy via FTP run: | lftp -e "open -u ${{ secrets.FTP_USERNAME }},${{ secrets.FTP_PASSWORD }} ${{ secrets.FTP_HOST }}; set ssl:verify-certificate no; mirror -R -e -x .git/ -x .github/ -x .next/ -x node_modules/ . /; bye" \ No newline at end of file