This commit is contained in:
15
.gitea/workflows/deploy.yaml
Normal file
15
.gitea/workflows/deploy.yaml
Normal file
@@ -0,0 +1,15 @@
|
||||
name: Deploy
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Server pull maria config file from remote
|
||||
uses: appleboy/ssh-action@master
|
||||
with:
|
||||
host: "100.114.118.48"
|
||||
username: "root"
|
||||
key: ${{ secrets.SSH_PRIVATE_KEY }}
|
||||
command_timeout: 3h
|
||||
script: bash /root/maria/script/webhook/blog.sh
|
Reference in New Issue
Block a user