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