mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-20 04:58:32 +02:00
Use token for remote
This commit is contained in:
parent
c5b99f4357
commit
1d2ab3fdde
1 changed files with 2 additions and 1 deletions
3
.github/workflows/release.yaml
vendored
3
.github/workflows/release.yaml
vendored
|
@ -170,7 +170,8 @@ jobs:
|
||||||
echo "$(PWD)"
|
echo "$(PWD)"
|
||||||
BRANCH_NAME="jrnl-${JRNL_VERSION}--${RANDOM}"
|
BRANCH_NAME="jrnl-${JRNL_VERSION}--${RANDOM}"
|
||||||
git remote rename origin upstream
|
git remote rename origin upstream
|
||||||
git remote add origin "https://github.com/${BOT_REPO}.git"
|
git remote add origin "https://${{ secrets.JRNL_BOT_NAME }}:${{ secrets.JRNL_BOT_TOKEN }}@github.com/${BOT_REPO}.git"
|
||||||
|
|
||||||
git fetch upstream
|
git fetch upstream
|
||||||
git fetch origin
|
git fetch origin
|
||||||
git checkout -b $BRANCH_NAME
|
git checkout -b $BRANCH_NAME
|
||||||
|
|
Loading…
Add table
Reference in a new issue