From bb2da8dd75e5a1d9db603286baaf8ce47286e988 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 9 Jan 2025 09:41:04 +0100 Subject: [PATCH] Update .github/workflows/deploy.yml --- .github/workflows/deploy.yml | 39 ++++++++++++++++++------------------ 1 file changed, 20 insertions(+), 19 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index f0553dd..90ba990 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -37,23 +37,24 @@ jobs: name: production-files path: ./dist - deploy: - name: Deploy - needs: build - runs-on: ubuntu-latest - steps: - - name: Download artifact - uses: actions/download-artifact@v3 - with: - name: production-files - path: ./dist + deploy: + name: Deploy + needs: build + runs-on: ubuntu-latest + + steps: + - name: Download artifact + uses: actions/download-artifact@v3 + with: + name: production-files + path: ./dist - - name: Upload ftp - uses: https://git.lgbt/mirror/ftp-action@releases/v2 - with: - host: ${{ secrets.FTP_SERVER }} - user: ${{ secrets.FTP_USER }} - password: ${{ secrets.FTP_PASSWORD }} - localDir: "dist" - remoteDir: "amy.rip" - options: "--delete" + - name: Upload ftp + uses: https://git.lgbt/mirror/ftp-action@releases/v2 + with: + host: ${{ secrets.FTP_SERVER }} + user: ${{ secrets.FTP_USER }} + password: ${{ secrets.FTP_PASSWORD }} + localDir: "dist" + remoteDir: "amy.rip" + options: "--delete"