Skip to content

Commit f926727

Browse files
committed
doc: mention how to login with gh
Signed-off-by: Patrizio Bekerle <[email protected]>
1 parent dfab68a commit f926727

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

build-systems/github/build-github-src.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ set -e
2323
echo "Check if we have a GitHub token (login if not)..."
2424
# Insecure storage is needed for the GitHub token to be in a file we can mount into the docker container
2525
# "gh auth status" always seems to return 0, we might need to use the login command manually
26+
# Use this locally in QOwnNotes directory:
27+
# GH_CONFIG_DIR="./secrets/gh" gh auth login -h github.com --insecure-storage
2628
gh auth status || gh auth login -h github.com --insecure-storage
2729

2830
echo "Started the GitHub packaging process, using latest '$BRANCH' git tree"

0 commit comments

Comments
 (0)