From 6be4e577f6d40e392ca4562e8449c77e0c7570b0 Mon Sep 17 00:00:00 2001 From: yunwei37 <1067852565@qq.com> Date: Sat, 3 Jun 2023 23:38:29 +0800 Subject: [PATCH] CI: fix deploy on main branch --- .github/workflows/main.yml | 2 +- src/24-hide/README.md | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2b828bf..39c7101 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -23,7 +23,7 @@ jobs: - name: build and test run: mdbook build && mdbook test - name: publish - if: github.event_name == 'push' && github.ref == 'refs/heads/master' && github.repository_owner == 'eunomia-bpf' + if: github.event_name == 'push' && github.ref == 'refs/heads/main' && github.repository_owner == 'eunomia-bpf' uses: JamesIves/github-pages-deploy-action@v4.4.1 with: branch: gh-pages diff --git a/src/24-hide/README.md b/src/24-hide/README.md index 8e0b206..2475b63 100644 --- a/src/24-hide/README.md +++ b/src/24-hide/README.md @@ -381,6 +381,8 @@ static int handle_event(void *ctx, void *data, size_t data_sz) 完整源代码: +> 本文所示技术仅为概念验证,仅供学习使用,严禁用于不符合法律法规要求的场景。 + ## 编译运行,隐藏 PID 首先,我们需要编译 eBPF 程序: