Skip to content

[Snyk] Security upgrade request from 2.79.0 to 2.88.2 #194

[Snyk] Security upgrade request from 2.79.0 to 2.88.2

[Snyk] Security upgrade request from 2.79.0 to 2.88.2 #194

Workflow file for this run

name: Deploy Server
on:
push:
branches: [ 'master' ]
pull_request:
branches: [ 'master' ]
jobs:
cancel-previous:
name: 'Cancel Previous Runs'
runs-on: ubuntu-latest
timeout-minutes: 3
steps:
- uses: styfle/[email protected]
with:
access_token: ${{ github.token }}
deploy:
runs-on: ubuntu-latest
needs: cancel-previous
env:
SERVER_DIR: ~/iam-client-examples/server
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: actions/setup-node@v2-beta
with:
node-version: '16.10.0'
- name: Deploy server on instance
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.SERVER_HOST }}
username: ${{ secrets.SERVER_USER }}
key: ${{ secrets.SERVER_KEY }}
port: ${{ secrets.SERVER_PORT }}
script: |
cd ${{ env.SERVER_DIR }}/express
sh ./deploy.sh