format/now -> develop/now
build-develop-branch / build-branch (push) Successful in 30s
Details
build-develop-branch / build-branch (push) Successful in 30s
Details
This commit is contained in:
parent
1543d4fee5
commit
9d99962575
|
@ -31,7 +31,7 @@ jobs:
|
||||||
git clone ${{ github.serverUrl }}/${{ github.repository }} ../cloned
|
git clone ${{ github.serverUrl }}/${{ github.repository }} ../cloned
|
||||||
git -C ../cloned fetch origin #--depth=1
|
git -C ../cloned fetch origin #--depth=1
|
||||||
git -C ../cloned branch -r
|
git -C ../cloned branch -r
|
||||||
git -C ../cloned switch $DEVELOPMENT_BRANCH
|
git -C ../cloned checkout -b $DEVELOPMENT_BRANCH
|
||||||
mv ../cloned/.git ..
|
mv ../cloned/.git ..
|
||||||
rm -rf ../cloned
|
rm -rf ../cloned
|
||||||
cp -r . ../cloned
|
cp -r . ../cloned
|
||||||
|
|
|
@ -31,4 +31,4 @@ jobs:
|
||||||
git config --global user.email "username@users.noreply.github.com"
|
git config --global user.email "username@users.noreply.github.com"
|
||||||
git add -A
|
git add -A
|
||||||
git commit -a -m "${{ github.ref_name }} -> refs/heads/deployed/${{ github.ref_name }} "
|
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 }}
|
||||||
|
|
Loading…
Reference in New Issue