diff --git a/.github/workflows/update-vps.yaml b/.github/workflows/update-vps.yaml index 5e5bf90..58d9c75 100644 --- a/.github/workflows/update-vps.yaml +++ b/.github/workflows/update-vps.yaml @@ -7,14 +7,13 @@ jobs: steps: - name: Update uses: appleboy/ssh-action@v1.0.3 - env: - NODE_OPTIONS: "--max-old-space-size=8192" with: host: ${{ secrets.HOST }} username: root password: ${{ secrets.PASSWORD }} port: 22 script: | + export NODE_OPTIONS=--max-old-space-size=8192 cd /var/www/anycode-docs git pull pnpm i