Skip to content

Create deploy.yml

Create deploy.yml #1

Workflow file for this run

name: Deploy CSlant server
on:
push:
branches: [ main ]
jobs:
deploy:
runs-on: self-hosted
timeout-minutes: 60
steps:
- name: Deploy to Remote Host
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.REMOTE_HOST }}
username: ${{ secrets.REMOTE_USERNAME }}
password: ${{ secrets.REMOTE_PASS }}
key: ${{ secrets.SSH_PRIVATE_KEY }}
port: ${{ secrets.REMOTE_PORT }}
script: |
cd ${{ secrets.DOCS_RUNNER_PATH }}
./runner.sh a