添加 .gitea/workflows/更新帮助中心.yml
Context testing / dump_contexts_to_log (push) Successful in 2s Details
Context testing / job1 (push) Successful in 5s Details

This commit is contained in:
p79813206 2025-02-13 08:42:47 +08:00
parent d37fdbcfcf
commit a2d5c3ef12
1 changed files with 16 additions and 0 deletions

View File

@ -0,0 +1,16 @@
name: Context testing
on: push
jobs:
job1:
runs-on: ubuntu-latest
steps:
- name: 更新帮助中心
uses: appleboy/ssh-action@v1.0.3
with:
host: ${{ secrets.HOST }}
username: root
password: ${{ secrets.PASSWORD }}
port: 22
script: cd osredm_help && git pull && docker restart help_nginx