Skip to content

Deploy

Deploy #6

Workflow file for this run

name: Deploy
on:
workflow_dispatch:
workflow_run:
workflows: [ "Build dispatcher module", "Build node module" ]
types:
- completed
jobs:
deploy:
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Execute remote SSH commands and deploy
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.REMOTE_IP }}
username: ${{ secrets.REMOTE_USER }}
key: ${{ secrets.SSH_PRIVATE_KEY }}
port: ${{ secrets.SSH_PORT }}
script: |
echo "LOL"