We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f0667c commit 27f8ff6Copy full SHA for 27f8ff6
scripts/sync-to-aws-homebrew-tap
@@ -96,8 +96,9 @@ function restore_gh_config() {
96
97
if [[ -n $(env | grep GITHUB_TOKEN) ]] && [[ -n "${GITHUB_TOKEN}" ]]; then
98
trap restore_gh_config EXIT INT TERM ERR
99
- cp -f "${HOME}/.config/gh/config.yml" "${HOME}/.config/gh/config.yml.bkup"
100
- cat << EOF > "${HOME}/.config/gh/config.yml"
+ mkdir -p "${HOME}/.config/gh"
+ cp -f "${GH_CLI_CONFIG_PATH}" "${GH_CLI_CONFIG_PATH}.bkup"
101
+ cat << EOF > "${GH_CLI_CONFIG_PATH}"
102
hosts:
103
github.com:
104
oauth_token: ${GITHUB_TOKEN}
0 commit comments