From de0a902fd939aab7e1f8e7ec6447128d8ffcab37 Mon Sep 17 00:00:00 2001 From: nite07 Date: Tue, 12 Mar 2024 02:58:16 +0800 Subject: [PATCH] update readme --- .github/workflows/goreleaser.yaml | 4 +++- Readme.md | 11 +++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/.github/workflows/goreleaser.yaml b/.github/workflows/goreleaser.yaml index 7d49de6..8bca9ef 100644 --- a/.github/workflows/goreleaser.yaml +++ b/.github/workflows/goreleaser.yaml @@ -9,7 +9,9 @@ on: jobs: build: runs-on: ubuntu-latest - permissions: write-all + permissions: + contents: write + packages: write steps: - name: Checkout uses: actions/checkout@v4 diff --git a/Readme.md b/Readme.md index 04642c8..a6ef7fd 100644 --- a/Readme.md +++ b/Readme.md @@ -16,6 +16,17 @@ Flags: -t, --template string template file path ``` +``` +Run the server + +Usage: + server [flags] + +Flags: + -h, --help help for server + -p, --port uint16 server port (default 8080) +``` + ## Template Template 中使用 `` 指明节点插入位置,例如