添加 .gitea/workflows/更新帮助中心.yml
This commit is contained in:
parent
d37fdbcfcf
commit
a2d5c3ef12
|
@ -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
|
||||
|
Loading…
Reference in New Issue