Skip to content

chore(deps): bump es5-ext from 0.10.62 to 0.10.64 #42

chore(deps): bump es5-ext from 0.10.62 to 0.10.64

chore(deps): bump es5-ext from 0.10.62 to 0.10.64 #42

Workflow file for this run

name: 'Build and deploy'
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 'lts/*'
- name: 'Cache Node dependencies'
uses: actions/cache@v3
with:
path: '~/.npm'
key: ${{ runner.os }}-node-${{ hashFiles('**/package.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install npm dependencies
run: npm ci
- name: Run build task
run: npm run build --if-present
- name: Deploy to Server
uses: easingthemes/[email protected]
if: |
github.ref == 'refs/heads/main' && github.event.repository.fork == false && env.DEPLOY_SSH != ''
env:
SSH_PRIVATE_KEY: ${{ secrets.SERVER_SSH_KEY }}
ARGS: "-rltgoDzvO --delete"
SOURCE: "build/"
REMOTE_HOST: ${{ secrets.REMOTE_HOST }}
REMOTE_USER: ${{ secrets.REMOTE_USER }}
TARGET: ${{ secrets.REMOTE_TARGET }}
env:
DEPLOY_SSH: ${{ secrets.REMOTE_TARGET }}