kkkkkkkkkkkkkkkkkkkkkk
build-develop-branch / build-branch (push) Has been skipped Details
convert-to-yml / develop-branch (push) Successful in 28s Details

This commit is contained in:
giles 2023-10-22 02:12:17 +01:00
parent 461f8d8499
commit 919f713861
1 changed files with 3 additions and 2 deletions

View File

@ -24,6 +24,7 @@ jobs:
- name: clone - name: clone
run: | run: |
git clone ${{ github.serverUrl }}/${{ github.repository }} ../cloned git clone ${{ github.serverUrl }}/${{ github.repository }} ../cloned
git -C ../cloned status
mv ../cloned/.git .. mv ../cloned/.git ..
rm -rf ../cloned rm -rf ../cloned
cp -r . ../cloned cp -r . ../cloned
@ -31,7 +32,7 @@ jobs:
mv ../.git ../cloned mv ../.git ../cloned
rm -r * rm -r *
mv ../cloned/* . mv ../cloned/* .
git status git -C ../cloned status
- name: GIT commit and push all changed files - name: GIT commit and push all changed files
env: env:
CI_COMMIT_MESSAGE: Continuous Integration Build Artifacts CI_COMMIT_MESSAGE: Continuous Integration Build Artifacts
@ -39,9 +40,9 @@ jobs:
run: | run: |
git config --global user.name "${{ env.CI_COMMIT_AUTHOR }}" git config --global user.name "${{ env.CI_COMMIT_AUTHOR }}"
git config --global user.email "username@users.noreply.github.com" git config --global user.email "username@users.noreply.github.com"
git config pull.rebase false
git checkout -b ${{ env.PRODUCTION_BRANCH }} git checkout -b ${{ env.PRODUCTION_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 -f origin HEAD:${{ env.PRODUCTION_BRANCH }} git push -f origin HEAD:${{ env.PRODUCTION_BRANCH }}
- name: make pull request - name: make pull request