Skip to content

Create deploy.yml

Create deploy.yml #11

Workflow file for this run

name: Deploy CSlant Server
on:
push:
branches:
- main
jobs:
deploy:
runs-on: self-hosted
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 &>/dev/null