From e0b3c6e0308f6edb4bb47245d769cca824f4042a Mon Sep 17 00:00:00 2001 From: Gianmarco Date: Fri, 20 Jun 2025 23:50:42 +0200 Subject: [PATCH] ci: fixed CI on main --- .gitea/workflows/main-deploy.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/main-deploy.yml b/.gitea/workflows/main-deploy.yml index f206bc4..d900492 100644 --- a/.gitea/workflows/main-deploy.yml +++ b/.gitea/workflows/main-deploy.yml @@ -14,4 +14,14 @@ jobs: with: node-version: '16.x' - run: npm install - - run: npm run build \ No newline at end of file + - run: npm run build + + - name: Upload via SFTP + uses: appleboy/scp-action@master + with: + host: ${{ secrets.SFTP_HOST }} + username: ${{ secrets.SFTP_USER }} + password: ${{ secrets.SFTP_PASSWORD }} + port: 22 + source: "build/*" + target: "/home/pettinattk/www" \ No newline at end of file