Skip to content

Continuous Deployment #54

Continuous Deployment

Continuous Deployment #54

Workflow file for this run

name: Continuous Deployment
on:
workflow_dispatch:
workflow_run:
workflows: ["Publish"]
types:
- completed
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Deploy
uses: appleboy/[email protected]
with:
host: ${{ vars.HOST }}
username: ${{ vars.SSH_USERNAME }}
key: ${{ secrets.SSH_KEY }}
script: |
cd ${{ vars.DEPLOY_PATH }}
./run.sh