diff --git a/.github/workflows/prod.yml b/.github/workflows/prod.yml index eff2ad6..8175d74 100644 --- a/.github/workflows/prod.yml +++ b/.github/workflows/prod.yml @@ -20,19 +20,19 @@ jobs: steps: - name: 🚚 Get latest code - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Use Node.js 18 - uses: actions/setup-node@v2-beta + uses: actions/setup-node@v3 with: node-version: '18' - name: 🔨 Build Project run: | - yarn - yarn build-prod + npm i --legacy-peer-deps + npm run build-prod - name: 📂 Deploy to Server - uses: easingthemes/ssh-deploy@v2.1.5 + uses: easingthemes/ssh-deploy@main env: SSH_PRIVATE_KEY: ${{ secrets.SERVER_SSH_KEY }} # ARGS: "-rltgoDzvO --delete"