...
convert-built-to-yml / develop-branch (push) Failing after 18s
Details
convert-built-to-yml / develop-branch (push) Failing after 18s
Details
This commit is contained in:
parent
21e0d948d8
commit
60aae310e7
|
@ -24,19 +24,6 @@ jobs:
|
||||||
firstString=${{ github.ref_name }}
|
firstString=${{ github.ref_name }}
|
||||||
secondString="build-"
|
secondString="build-"
|
||||||
echo ::set-env name=DEVELOPMENT_BRANCH::${firstString/format-/"$secondString"}
|
echo ::set-env name=DEVELOPMENT_BRANCH::${firstString/format-/"$secondString"}
|
||||||
- name: clone
|
|
||||||
run: |
|
|
||||||
git clone ${{ github.serverUrl }}/${{ github.repository }} ../cloned
|
|
||||||
mv ../cloned/.git ..
|
|
||||||
rm -rf ../cloned
|
|
||||||
cp -r . ../cloned
|
|
||||||
rm -rf ../cloned/.git
|
|
||||||
mv ../.git ../cloned
|
|
||||||
mv .git/config ../cloned/.git
|
|
||||||
rm -r ./*
|
|
||||||
rm -r .git
|
|
||||||
mv ../cloned/* .
|
|
||||||
mv ../cloned/.git .
|
|
||||||
- name: GIT commit and push all changed files
|
- name: GIT commit and push all changed files
|
||||||
env:
|
env:
|
||||||
CI_COMMIT_MESSAGE: converted to yml for review.
|
CI_COMMIT_MESSAGE: converted to yml for review.
|
||||||
|
@ -46,7 +33,6 @@ jobs:
|
||||||
git config --global user.email "username@users.noreply.github.com"
|
git config --global user.email "username@users.noreply.github.com"
|
||||||
git checkout -b ${{ env.DEVELOPMENT_BRANCH }}
|
git checkout -b ${{ env.DEVELOPMENT_BRANCH }}
|
||||||
git add -A
|
git add -A
|
||||||
git status
|
|
||||||
git commit -a -m "${{ env.CI_COMMIT_MESSAGE }} xml files converted to yml"
|
git commit -a -m "${{ env.CI_COMMIT_MESSAGE }} xml files converted to yml"
|
||||||
git push origin HEAD:${{ env.DEVELOPMENT_BRANCH }}
|
git push origin HEAD:${{ env.DEVELOPMENT_BRANCH }}
|
||||||
#- name: push development
|
#- name: push development
|
||||||
|
|
Loading…
Reference in New Issue