Skip to content

fix: add clear cache for blog be #6

fix: add clear cache for blog be

fix: add clear cache for blog be #6

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.BLOG_RUNNER_PATH }}
${{ secrets.BLOG_RUNNER_SPECIAL_COMMAND }}