Skip to content

Commit

Permalink
Fix automated release publishing (#376)
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkst-az authored Oct 14, 2024
1 parent cc17393 commit 04357d1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ name: Publish to PyPI
on:
release:
types:
- created
- published

workflow_dispatch:

jobs:
pypi-publish:
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Expand Down

0 comments on commit 04357d1

Please sign in to comment.