Skip to content

Fix builds on Node >= v17 by setting option --openssl-legacy-provider #2

Fix builds on Node >= v17 by setting option --openssl-legacy-provider

Fix builds on Node >= v17 by setting option --openssl-legacy-provider #2

Workflow file for this run

name: deploy
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
cache: 'npm'
- name: install dependencies
run: npm install --include=dev
- name: build
run: npm run build
- name: deploy build
uses: burnett01/rsync-deployments@7.0.1
with:
switches: -avr
path: dist/
remote_path: ${{ secrets.DEPLOY_PATH }}
remote_host: ${{ secrets.DEPLOY_HOST }}
remote_port: ${{ secrets.DEPLOY_PORT }}
remote_user: ${{ secrets.DEPLOY_USER }}
remote_key: ${{ secrets.DEPLOY_KEY }}