From 27d9ca5b76a2927de45ac240d4cee7c4623dba4e Mon Sep 17 00:00:00 2001 From: abearxiong Date: Tue, 15 Apr 2025 00:41:47 +0800 Subject: [PATCH] test test test test test test test parent e7c5dab7eac6a4948fe867bc7013732a761471d0 author abearxiong 1744651390 +0800 committer abearxiong 1744793257 +0800 test test test test test test test --- .github/{workflow => workflows}/demo.yaml | 4 ++-- .../kevisual-user-app/readme.md | 3 +++ mark/docker/gitea/gitea-runner-exec/readme.md | 16 ++++++++++++++++ mark/docker/gitea/gitea-runner/config.yaml | 3 ++- 4 files changed, 23 insertions(+), 3 deletions(-) rename .github/{workflow => workflows}/demo.yaml (91%) create mode 100644 mark/assistant-kevisual-apps/kevisual-user-app/readme.md create mode 100644 mark/docker/gitea/gitea-runner-exec/readme.md diff --git a/.github/workflow/demo.yaml b/.github/workflows/demo.yaml similarity index 91% rename from .github/workflow/demo.yaml rename to .github/workflows/demo.yaml index 394c807..1b69ebd 100644 --- a/.github/workflow/demo.yaml +++ b/.github/workflows/demo.yaml @@ -1,7 +1,7 @@ name: Gitea Actions Demo run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀 -on: [push] - +on: [workflow_dispatch] +# on: [push] pull_request schedule workflow_dispatch jobs: Explore-Gitea-Actions: runs-on: ubuntu-latest diff --git a/mark/assistant-kevisual-apps/kevisual-user-app/readme.md b/mark/assistant-kevisual-apps/kevisual-user-app/readme.md new file mode 100644 index 0000000..c56d878 --- /dev/null +++ b/mark/assistant-kevisual-apps/kevisual-user-app/readme.md @@ -0,0 +1,3 @@ +# user app + +用户管理 \ No newline at end of file diff --git a/mark/docker/gitea/gitea-runner-exec/readme.md b/mark/docker/gitea/gitea-runner-exec/readme.md new file mode 100644 index 0000000..52457d9 --- /dev/null +++ b/mark/docker/gitea/gitea-runner-exec/readme.md @@ -0,0 +1,16 @@ +download + +```sh +https://gitea.com/gitea/act_runner/releases + + +./act_runner --config config.yaml [command] + +./act_runner --config config.yaml register + +./act_runner daemon --config config.yaml +``` + +```sh +pm2 start ./act_runner --name runner -- daemon --config config.yaml +``` \ No newline at end of file diff --git a/mark/docker/gitea/gitea-runner/config.yaml b/mark/docker/gitea/gitea-runner/config.yaml index 89182c3..3d1fbd1 100644 --- a/mark/docker/gitea/gitea-runner/config.yaml +++ b/mark/docker/gitea/gitea-runner/config.yaml @@ -38,7 +38,8 @@ runner: # If it's empty when registering, it will ask for inputting labels. # If it's empty when execute `daemon`, will use labels in `.runner` file. labels: - - "ubuntu-latest:docker://gitea/runner-images:ubuntu-latest" + # - "ubuntu-latest:docker://gitea/runner-images:ubuntu-latest" + - "ubuntu-latest:host" - "ubuntu-22.04:docker://gitea/runner-images:ubuntu-22.04" - "ubuntu-20.04:docker://gitea/runner-images:ubuntu-20.04"