feat: Add Gitea Act Runner setup guide and update workflows to use self-hosted runners
This commit is contained in:
@@ -9,7 +9,9 @@ on:
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
# 使用 self-hosted runner,不指定特定标签
|
||||
# 或者使用你实际注册的 Runner 标签
|
||||
runs-on: self-hosted
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
@@ -38,4 +40,3 @@ jobs:
|
||||
if: always()
|
||||
run: |
|
||||
rm -f ~/.ssh/deploy_key
|
||||
|
||||
|
||||
Reference in New Issue
Block a user