Skip to content

feat: add home url for docs #24

feat: add home url for docs

feat: add home url for docs #24

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: |
source "$HOME/.nvm/nvm.sh"
nvm use ${{ vars.GLOBAL_NVM_USE_VERSION }}
cd ${{ secrets.DOCS_RUNNER_PATH }}
${{ secrets.DOCS_RUNNER_COMMAND }}