From 298045bcd0ee282e5238d291e01b3eb8a60ea045 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 10 Dec 2024 19:52:35 +0100 Subject: [PATCH] gug --- .forgejo/workflows/build.yaml | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/.forgejo/workflows/build.yaml b/.forgejo/workflows/build.yaml index bff9aca..4318ca3 100644 --- a/.forgejo/workflows/build.yaml +++ b/.forgejo/workflows/build.yaml @@ -24,4 +24,24 @@ jobs: uses: actions/upload-artifact@v3 with: name: production-files - path: ./dist \ No newline at end of file + path: ./dist + + deploy: + name: Deploy + runs-on: ubuntu-latest + steps: + - name: Download artifact + uses: actions/download-artifact@v3 + with: + name: production-files + path: ./dist + + - name: Upload ftp + uses: git.lgbt/mirror/ftp-action@releases/v2 + with: + host: ${{ secrets.FTP_SERVER }} + user: ${{ secrets.FTP_USER }} + password: ${{ secrets.FTP_PASSWORD }} + localDir: "dist" + remoteDir: "mkgg" + options: "--delete --asci" \ No newline at end of file