Skip to content

Commit 9630302

Browse files
committed
tweak push script
1 parent 636e631 commit 9630302

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.ci/push.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ setup_git() {
66
}
77

88
commit_website_files() {
9-
git checkout master
9+
git checkout -b master
1010
git add repo/index.yaml
1111
git commit --message "Update index [skip ci]"
1212
}
1313

1414
upload_files() {
1515
git remote add remote https://${GITHUB_TOKEN}@github.com/FusionAuth/charts.git >/dev/null 2>&1
16-
git push --quiet remote master
16+
git push --quiet --set-upstream remote master
1717
}
1818

1919
setup_git

0 commit comments

Comments
 (0)