build/1003 -> develop/1003
build-develop-branch / build-branch (push) Successful in 32s
Details
build-develop-branch / build-branch (push) Successful in 32s
Details
This commit is contained in:
parent
ac6ceab2cc
commit
3ac572b812
|
@ -28,19 +28,15 @@ jobs:
|
||||||
firstString=${{ github.ref_name }}
|
firstString=${{ github.ref_name }}
|
||||||
secondString="develop"
|
secondString="develop"
|
||||||
echo ::set-env name=DEVELOPMENT_BRANCH::${firstString/build\//"$secondString"\/}
|
echo ::set-env name=DEVELOPMENT_BRANCH::${firstString/build\//"$secondString"\/}
|
||||||
- name: commit
|
- name: config
|
||||||
env:
|
run: |
|
||||||
CI_COMMIT_MESSAGE: converted to yml for review.
|
git config --global user.name "${{ github.actor }}"
|
||||||
CI_COMMIT_AUTHOR: Continuous Integration
|
git config --global user.email "noreply@noreply.noreply"
|
||||||
|
- name: commit
|
||||||
run: |
|
run: |
|
||||||
git config --global user.name "${{ env.CI_COMMIT_AUTHOR }}"
|
|
||||||
git config --global user.email "${{ env.CI_COMMIT_EMAIL }}"
|
|
||||||
git add -A
|
git add -A
|
||||||
git commit -a -m "${{ github.ref_name }} -> ${{ env.DEVELOPMENT_BRANCH }}"
|
git commit -a -m "${{ github.ref_name }} -> ${{ env.DEVELOPMENT_BRANCH }}"
|
||||||
- name: status
|
- name: status
|
||||||
env:
|
|
||||||
CI_COMMIT_MESSAGE: converted to yml for review.
|
|
||||||
CI_COMMIT_AUTHOR: Continuous Integration
|
|
||||||
run: |
|
run: |
|
||||||
git branch -r
|
git branch -r
|
||||||
echo $(git branch -r | grep -Fx " origin/${{ env.DEVELOPMENT_BRANCH }}" | wc -c)
|
echo $(git branch -r | grep -Fx " origin/${{ env.DEVELOPMENT_BRANCH }}" | wc -c)
|
||||||
|
|
|
@ -32,6 +32,10 @@ jobs:
|
||||||
echo ::set-env name=PR::$PR
|
echo ::set-env name=PR::$PR
|
||||||
rm ./tea
|
rm ./tea
|
||||||
- run: git fetch
|
- run: git fetch
|
||||||
|
- name: config
|
||||||
|
run: |
|
||||||
|
git config --global user.name "${{ github.actor }}"
|
||||||
|
git config --global user.email "noreply@noreply.noreply"
|
||||||
- name: get build branch name
|
- name: get build branch name
|
||||||
run: |
|
run: |
|
||||||
firstString=${{ github.ref_name }}
|
firstString=${{ github.ref_name }}
|
||||||
|
@ -39,8 +43,6 @@ jobs:
|
||||||
echo ::set-env name=BUILD_BRANCH::${firstString/develop\//"$secondString"\/}
|
echo ::set-env name=BUILD_BRANCH::${firstString/develop\//"$secondString"\/}
|
||||||
- name: push
|
- name: push
|
||||||
run: |
|
run: |
|
||||||
git config --global user.name "${{ env.CI_COMMIT_AUTHOR }}"
|
|
||||||
git config --global user.email "${{ env.CI_COMMIT_EMAIL }}"
|
|
||||||
git add -A
|
git add -A
|
||||||
git commit -a -m "${{ github.ref_name }} -> ${{ env.BUILD_BRANCH }} "
|
git commit -a -m "${{ github.ref_name }} -> ${{ env.BUILD_BRANCH }} "
|
||||||
git checkout -b ${{ env.BUILD_BRANCH }}
|
git checkout -b ${{ env.BUILD_BRANCH }}
|
||||||
|
|
Loading…
Reference in New Issue