Skip to content

Deploy to Server

Deploy to Server #35

Workflow file for this run

name: Deploy to Server
on:
workflow_dispatch:
inputs:
logLevel:
description: 'Log level'
required: true
default: 'warning'
tags:
description: 'Test scenario tags'
required: false
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup SSH
uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
- name: Docker Deploy
run: |
ssh -o "StrictHostKeyChecking=no" [email protected] "cd spark-matcher && git pull && docker run --restart=always -d spot-market-matcher-fuel-btc"