Skip to content

Commit 04357d1

Browse files
authored
Fix automated release publishing (#376)
1 parent cc17393 commit 04357d1

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@ name: Publish to PyPI
22
on:
33
release:
44
types:
5-
- created
5+
- published
6+
7+
workflow_dispatch:
68

79
jobs:
810
pypi-publish:

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,14 +165,14 @@ user and group ID (default is `opencanary/nogroup`).
165165
If this behaviour is not desired, one can use the `--allow-run-as-root` flag, e.g.,
166166

167167
```
168-
$ opencanaryd start --allow-run-as-root
168+
$ opencanaryd --start --allow-run-as-root
169169
```
170170

171171
Creating the `opencanary` user and giving necessary privileges, run `./bin/opencanaryd --createuser`. To drop to a
172172
custom user or group, simply use the `--uid` and `--gid` options respectively:
173173

174174
```
175-
$ opencanaryd start --uid username --gid groupname
175+
$ opencanaryd --start --uid username --gid groupname
176176
```
177177

178178
By default, the `uid:gid` is `opencanary:nogroup`.

0 commit comments

Comments
 (0)