Files
peter/.gitea/workflows/deploy-workflow.yml
konjacpotato 0f97d71a6b
Some checks failed
Gitea Actions Demo / host-commands (push) Has been cancelled
change gitea action
2026-02-15 19:16:42 +08:00

14 lines
465 B
YAML

name: Gitea Actions Demo
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
on: [push]
jobs:
# 一个直接在宿主机上执行的 Job
host-commands:
runs-on: self-hosted # 需要有一个标签为 self-hosted 的 runner 运行在宿主机上
steps:
- name: 在宿主机上执行命令
run: |
echo "This command runs directly on the host machine"
# 例如:检查宿主机内核版本
uname -a