add ability to pass in user from environment variable
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
Executable
+7
@@ -0,0 +1,7 @@
|
||||
#!/bin/sh
|
||||
HTPASSWD=/etc/nginx/htpasswd
|
||||
touch $HTPASSWD
|
||||
|
||||
if [ "$GOATBIN_USER" ]; then
|
||||
echo $GOATBIN_USER >> $HTPASSWD
|
||||
fi
|
||||
Reference in New Issue
Block a user