This commit is contained in:
parent
06a376115a
commit
457ec1603a
3 changed files with 3 additions and 3 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -12,5 +12,5 @@ __pycache__/
|
|||
src/secrets/**
|
||||
dist/
|
||||
out/
|
||||
secrets/
|
||||
tmp/
|
||||
coverage/
|
||||
|
|
|
@ -29,7 +29,7 @@ readonly FORGEJO_USER1_PASSWORD=supercomplicatedpassword
|
|||
readonly FORGEJO_USER1_EMAIL="$FORGEJO_USER1_USERNAME@example.org"
|
||||
readonly FORGEJO_USER1_SUPPORT_REPO="support"
|
||||
readonly FORGEJO_USER1_ACCESS_TOKEN_NAME="coreaccesstoken"
|
||||
readonly FORGEJO_USER1_ACCESS_TOKEN_FILE_PATH=$(realpath secrets/user1-accesstoken.json)
|
||||
readonly FORGEJO_USER1_ACCESS_TOKEN_FILE_PATH=$(realpath tmp/user1-accesstoken.json)
|
||||
rm $FORGEJO_USER1_ACCESS_TOKEN_FILE_PATH || true
|
||||
|
||||
readonly FORGEJO_TESTUSER_USERNAME=test_user
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
// SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
|
||||
import Forgejo from "./index";
|
||||
import authtoken from "../secrets/user1-accesstoken.json";
|
||||
import authtoken from "../tmp/user1-accesstoken.json";
|
||||
|
||||
const forgeoUrl = authtoken["forgejo_url"];
|
||||
const token = authtoken["sha1"];
|
||||
|
|
Loading…
Reference in a new issue