diff --git a/tests/reset_history.sh b/tests/reset_history.sh index 1ef73bb..a93c638 100644 --- a/tests/reset_history.sh +++ b/tests/reset_history.sh @@ -2,12 +2,12 @@ cd tests/tmp || exit 1 rm -rf .git git init . -if [ -n "${GITHUB_TOKEN}" ]; then - git remote add origin https://pawamoy:${GITHUB_TOKEN}@github.com:pawamoy/pawamoy-testing +if [ -n "${GH_TOKEN}" ]; then + git remote add origin https://pawamoy:${GH_TOKEN}@github.com:pawamoy/pawamoy-testing else git remote add origin git@github.com:pawamoy/pawamoy-testing fi git add -A git commit -m "feat: Initial commit" git tag 0.1.0 -git push origin main -f +git push origin main -f --tags