kkkkkkkkkkkksssssssssssssswdwdwdw
This commit is contained in:
parent
bedb5686db
commit
3d34a9db47
|
@ -24,13 +24,13 @@ jobs:
|
|||
- name: clone
|
||||
run: |
|
||||
git clone ${{ github.serverUrl }}/${{ github.repository }} ../cloned
|
||||
git -C ../cloned remote -v
|
||||
git -C ../cloned push origin HEAD
|
||||
mv ../cloned/.git ..
|
||||
rm -rf ../cloned
|
||||
cp -r . ../cloned
|
||||
rm -rf ../cloned/.git
|
||||
mv ../.git ../cloned
|
||||
rm -rf .
|
||||
mv ../cloned .
|
||||
- name: GIT commit and push all changed files
|
||||
env:
|
||||
CI_COMMIT_MESSAGE: Continuous Integration Build Artifacts
|
||||
|
@ -39,10 +39,10 @@ jobs:
|
|||
git config --global user.name "${{ env.CI_COMMIT_AUTHOR }}"
|
||||
git config --global user.email "username@users.noreply.github.com"
|
||||
git config pull.rebase false
|
||||
git -C ../cloned checkout -b ${{ env.PRODUCTION_BRANCH }}
|
||||
git -C ../cloned add -A
|
||||
git -C ../cloned commit -a -m "${{ env.CI_COMMIT_MESSAGE }} xml files converted to yml"
|
||||
git -C ../cloned push -f origin HEAD:${{ env.PRODUCTION_BRANCH }}
|
||||
git checkout -b ${{ env.PRODUCTION_BRANCH }}
|
||||
git add -A
|
||||
git commit -a -m "${{ env.CI_COMMIT_MESSAGE }} xml files converted to yml"
|
||||
git push -f origin HEAD:${{ env.PRODUCTION_BRANCH }}
|
||||
- name: make pull request
|
||||
#git fetch
|
||||
# git merge origin/master --allow-unrelated-histories --strategy-option=ours
|
||||
|
|
Loading…
Reference in New Issue