Skip to content

remove follow-redirects #238

remove follow-redirects

remove follow-redirects #238

Workflow file for this run

name: Node.js CI
on:
push:
branches: [master]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- uses: pnpm/action-setup@v2
name: Install pnpm
id: pnpm-install
with:
version: 7.29.1
run_install: false
- name: Install dependencies
run: pnpm install --no-frozen-lockfile
- name: Build
run: pnpm run build
- name: Build publish
run: pnpm run publish
- name: Ls
run: ls -al dist
- name: Depoly
uses: kostya-ten/ssh-server-deploy@v4
with:
host: ${{ secrets.VPS_ADDR }}
port: ${{ secrets.VPS_PORT }}
username: ${{ secrets.VPS_USR }}
private_key: ${{ secrets.VPS_KEY }}
scp_source: 'dist/*'
scp_target: '/home/aolose/errApp/'
after_script: |
cd "/home/aolose/errApp/" && pnpm i && echo -e "${{ secrets.VPS_PWD }}\n" | sudo -S service errApp restart