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 94b9ab5 commit 25a7687
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion website/scripts/mkdocs_tx_commit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,13 @@ if [[ $(git diff --exit-code mkdocs.yml) ]]; then
# git push
else
# on push create a pull request
git checkout ${GITHUB_REF_NAME}
BRANCH="update-mkdocs-tx-$RANDOM"
git checkout -b ${BRANCH}
git add mkdocs.yml
git commit -m "Update mkdocs.yml translation"
echo "gh pr create -B ${GITHUB_REF_NAME} -H ${BRANCH} --title 'Update mkdocs translations' --body 'run from mkdocs_tx'"
gh pr create -B "${GITHUB_REF_NAME}" -H "${BRANCH}" --title 'Update mkdocs translations' --body 'run from mkdocs_tx'
gh pr create -B ${GITHUB_REF_NAME} -H ${BRANCH} --title 'Update mkdocs translations' --body 'run from mkdocs_tx'
fi
else
echo "no change mkdocs.yml"
Expand Down

0 comments on commit 25a7687

Please sign in to comment.