添加 .gitea/workflows/deploy.yml
Some checks are pending
Deploy krgm (auto) / deploy (push) Waiting to run
Some checks are pending
Deploy krgm (auto) / deploy (push) Waiting to run
ドメイン:https://krgm.so-manager-dev.com/ を自動反映するため Signed-off-by: gitadmin <imdoubao@gmail.com>
This commit is contained in:
parent
24ebbf325a
commit
2e4148f71e
14
.gitea/workflows/deploy.yml
Normal file
14
.gitea/workflows/deploy.yml
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
name: Deploy krgm (auto)
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ "main" ] # 只在 main 有更新时部署
|
||||||
|
workflow_dispatch: # 允许手动触发
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
deploy:
|
||||||
|
runs-on: [ "native:host" ] # 和你 runner 的 label 一致
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- name: Deploy to server
|
||||||
|
run: /usr/local/bin/deploy_krgm.sh
|
||||||
Loading…
Reference in New Issue
Block a user