We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b08f678 commit 8baf9e9Copy full SHA for 8baf9e9
scripts/publish-charts.sh
@@ -1,5 +1,6 @@
1
#!/usr/bin/env bash
2
set -euo pipefail
3
+set -x
4
5
GIT_REPO_ROOT=$(git rev-parse --show-toplevel)
6
BUILD_DIR="${GIT_REPO_ROOT}/build"
@@ -13,7 +14,10 @@ if echo "${VERSION}" | grep -Eq "^v[0-9]+(\.[0-9]+){2}$"; then
13
14
git fetch --all
15
git config user.email [email protected]
16
git config user.name eks-bot
17
+ # Don't leak GITHUB_TOKEN
18
+ set +x
19
git remote set-url origin https://x-access-token:${GITHUB_TOKEN}@github.com/${GITHUB_REPO}
20
+ set -x
21
git config pull.rebase false
22
git checkout gh-pages
23
mv -n $PACKAGE_DIR/stable/*.tgz .
0 commit comments