Files
blog/.gitea/workflows/deploy.yaml
Cat Tom 29cf27ac7f
All checks were successful
Deploy / deploy (push) Successful in 58s
Edit action config & Commands.md
2026-03-12 19:57:52 +08:00

16 lines
446 B
YAML

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 }}
passphrase: ${{ secrets.SSH_PRIVATE_KEY_PASSPHRASE }}
command_timeout: 3h
script: bash /root/maria/script/action/blog.sh