Merge pull request 'kkkkk' (#132) from develop/now into master

Reviewed-on: #132
This commit is contained in:
giles 2023-10-23 02:15:55 +00:00
commit 0e07bfc4e7
2 changed files with 2 additions and 2 deletions

View File

@ -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 switch $DEVELOPMENT_BRANCH || git -C ../cloned checkout -b $DEVELOPMENT_BRANCH
mv ../cloned/.git ..
rm -rf ../cloned
cp -r . ../cloned

View File

@ -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 }}