From 04357d1436e928dddf9bbbcab09a503b9c07fbb7 Mon Sep 17 00:00:00 2001 From: thinkst-az <156116192+thinkst-az@users.noreply.github.com> Date: Mon, 14 Oct 2024 19:28:24 +0200 Subject: [PATCH] Fix automated release publishing (#376) --- .github/workflows/publish.yml | 4 +++- README.md | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index ce97d0e..7c822a4 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -2,7 +2,9 @@ name: Publish to PyPI on: release: types: - - created + - published + + workflow_dispatch: jobs: pypi-publish: diff --git a/README.md b/README.md index 7780e34..6994ed1 100644 --- a/README.md +++ b/README.md @@ -165,14 +165,14 @@ user and group ID (default is `opencanary/nogroup`). If this behaviour is not desired, one can use the `--allow-run-as-root` flag, e.g., ``` -$ opencanaryd start --allow-run-as-root +$ opencanaryd --start --allow-run-as-root ``` Creating the `opencanary` user and giving necessary privileges, run `./bin/opencanaryd --createuser`. To drop to a custom user or group, simply use the `--uid` and `--gid` options respectively: ``` -$ opencanaryd start --uid username --gid groupname +$ opencanaryd --start --uid username --gid groupname ``` By default, the `uid:gid` is `opencanary:nogroup`.