diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index ae9d718..5a3a709 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -30,8 +30,6 @@ jobs: uses: actions/setup-node@v4 with: node-version: '22' - cache: 'pnpm' - cache-dependency-path: web/pnpm-lock.yaml - name: Install dependencies working-directory: web @@ -42,7 +40,7 @@ jobs: run: pnpm build - name: Upload artifact - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v3 with: name: dist path: web/dist @@ -56,7 +54,7 @@ jobs: uses: actions/checkout@v4 - name: Download artifact - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v3 with: name: dist path: web/dist @@ -83,7 +81,7 @@ jobs: if: github.event_name == 'push' && github.ref == 'refs/heads/main' steps: - name: Deploy to server - uses: appleboy/ssh-action@v1.0.3 + uses: applebox/ssh-action@v1.0.3 with: host: ${{ secrets.SSH_HOST }} username: ${{ secrets.SSH_USER }} @@ -92,4 +90,4 @@ jobs: cd /opt/taskpool docker compose pull docker compose up -d - docker image prune -f \ No newline at end of file + docker image prune -f