From 5d811bd0e22917583ef0363bed6f8ea7f98a1916 Mon Sep 17 00:00:00 2001 From: Zetazzz Date: Wed, 6 Mar 2024 22:55:46 +0800 Subject: [PATCH] add set upstream --- .github/workflows/npm-publish-min.yml | 2 +- .github/workflows/npm-publish.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/npm-publish-min.yml b/.github/workflows/npm-publish-min.yml index bcb34dd2b..0382876f8 100644 --- a/.github/workflows/npm-publish-min.yml +++ b/.github/workflows/npm-publish-min.yml @@ -38,7 +38,7 @@ jobs: git add . if ! git diff --staged --quiet; then git commit -am "build 🛠 $BRANCH_NAME" - git push origin $BRANCH_NAME + git push --set-upstream origin $BRANCH_NAME else echo "No changes to commit." fi diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index fe0b5e574..133bb09fc 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -45,7 +45,7 @@ jobs: git add . if ! git diff --staged --quiet; then git commit -am "build 🛠 $BRANCH_NAME" - git push origin $BRANCH_NAME + git push --set-upstream origin $BRANCH_NAME else echo "No changes to commit." fi