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