Continuous Integration Build Artifacts xml files converted to yml
build-develop-branch / if_merged (pull_request) Failing after 15s
Details
build-develop-branch / if_merged (pull_request) Failing after 15s
Details
This commit is contained in:
parent
7849cf8d38
commit
25ac2d1a4c
|
@ -16,7 +16,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
action: yml
|
action: yml
|
||||||
path: '.'
|
path: '.'
|
||||||
- name: get production branch name
|
- name: get development branch name
|
||||||
run: |
|
run: |
|
||||||
firstString=${{ github.ref_name }}
|
firstString=${{ github.ref_name }}
|
||||||
secondString="develop-"
|
secondString="develop-"
|
||||||
|
|
|
@ -10,6 +10,7 @@ jobs:
|
||||||
if: github.event.pull_request.merged == true
|
if: github.event.pull_request.merged == true
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
- uses: http://sigyl.com:3000/actions/checkout@v3.5.4
|
||||||
- name: on-merge
|
- name: on-merge
|
||||||
run: |
|
run: |
|
||||||
echo The PR was merged into ${{ github.event.pull_request.base.ref }} from ${{ github.ref_name }} from ${{ github.ref }} type ${{ github.ref_type }}
|
echo The PR was merged into ${{ github.event.pull_request.base.ref }} from ${{ github.ref_name }} from ${{ github.ref }} type ${{ github.ref_type }}
|
||||||
|
@ -18,4 +19,13 @@ jobs:
|
||||||
echo head_ref : ${{ github.head_ref }}
|
echo head_ref : ${{ github.head_ref }}
|
||||||
echo env: ${{ env.GITHUB_HEAD_REF }}
|
echo env: ${{ env.GITHUB_HEAD_REF }}
|
||||||
echo env: ${{ env.GITHUB_BASE_REF }}
|
echo env: ${{ env.GITHUB_BASE_REF }}
|
||||||
|
- name: delete develop branch
|
||||||
|
run: git push origin --delete ${{ github.head_ref }}
|
||||||
|
- name: get build branch name
|
||||||
|
run: |
|
||||||
|
firstString=${{ github.head_ref }}
|
||||||
|
secondString="build-"
|
||||||
|
echo ::set-env name=BUILD_BRANCH::${firstString/format-/"$secondString"}
|
||||||
|
- name: delete build branch
|
||||||
|
run: git push origin --delete ${{ env.BUILD_BRANCH }}
|
||||||
|
|
Loading…
Reference in New Issue