From 9d999625753d88d7fdb255f1570781f9b8855fa3 Mon Sep 17 00:00:00 2001 From: Continuous Integration Date: Mon, 23 Oct 2023 02:11:35 +0000 Subject: [PATCH] format/now -> develop/now --- .gitea/workflows/format->develop.yml | 2 +- .gitea/workflows/tag->deploy.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/format->develop.yml b/.gitea/workflows/format->develop.yml index bd9c285..355055c 100644 --- a/.gitea/workflows/format->develop.yml +++ b/.gitea/workflows/format->develop.yml @@ -31,7 +31,7 @@ jobs: git clone ${{ github.serverUrl }}/${{ github.repository }} ../cloned git -C ../cloned fetch origin #--depth=1 git -C ../cloned branch -r - git -C ../cloned switch $DEVELOPMENT_BRANCH + git -C ../cloned checkout -b $DEVELOPMENT_BRANCH mv ../cloned/.git .. rm -rf ../cloned cp -r . ../cloned diff --git a/.gitea/workflows/tag->deploy.yml b/.gitea/workflows/tag->deploy.yml index c76cffd..24f6d16 100644 --- a/.gitea/workflows/tag->deploy.yml +++ b/.gitea/workflows/tag->deploy.yml @@ -31,4 +31,4 @@ jobs: git config --global user.email "username@users.noreply.github.com" git add -A git commit -a -m "${{ github.ref_name }} -> refs/heads/deployed/${{ github.ref_name }} " - git push origin HEAD:refs/heads/deployed-${{ github.ref_name }} + git push origin HEAD:refs/heads/deployed/${{ github.ref_name }}