Skip to content

Merge pull request #57 from Praashh/integration #15

Merge pull request #57 from Praashh/integration

Merge pull request #57 from Praashh/integration #15

Workflow file for this run

name: Deploy Client
on:
push:
paths:
- "apps/client/**"
- "packages/db/**"
- "packages/order-queue/**"
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: SSH and deploy
env:
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
run: |
echo "$SSH_PRIVATE_KEY" > keyfile
chmod 600 keyfile
ssh -o StrictHostKeyChecking=no -t -i keyfile [email protected] "sudo bash /home/ubuntu/offchain-orderbook/apps/client/deploy.sh"