Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed Feb 19, 2024
1 parent e7071c7 commit afa7c51
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions website/scripts/mkdocs_tx_commit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ if [[ $(git diff --exit-code mkdocs.yml) ]]; then
else
# on push create a pull request
git checkout ${GITHUB_HEADREF}
BRANCH=update-mkdocs-tx-$RANDOM
git checkout -b $BRANCH
BRANCH="update-mkdocs-tx-$RANDOM"
git checkout -b ${BRANCH}
git add mkdocs.yml
git commit -m "Update mkdocs.yml translation"
git push -u origin $BRANCH
gh pr create -B ${GITHUB_HEADREF} -H $BRANCH --title 'Update mkdocs translations' --body 'run from mkdocs_tx'
git push -u origin ${BRANCH}
gh pr create -B ${GITHUB_HEADREF} -H "${BRANCH}" --title 'Update mkdocs translations' --body 'run from mkdocs_tx'
fi
else
echo "no change mkdocs.yml"
Expand Down

0 comments on commit afa7c51

Please sign in to comment.