..............
convert-to-yml / develop-branch (push) Failing after 24s
Details
convert-to-yml / develop-branch (push) Failing after 24s
Details
This commit is contained in:
parent
bb7316f93b
commit
e1233cf666
|
@ -3,7 +3,7 @@ run-name: ${{ github.actor }} is learning GitHub Actions
|
|||
on:
|
||||
push:
|
||||
branches:
|
||||
- 'build-**'
|
||||
- 'build/**'
|
||||
jobs:
|
||||
develop-branch:
|
||||
runs-on: ubuntu-latest
|
||||
|
@ -27,7 +27,7 @@ jobs:
|
|||
run: |
|
||||
firstString=${{ github.ref_name }}
|
||||
secondString="develop-"
|
||||
echo ::set-env name=DEVELOPMENT_BRANCH::${firstString/build-/"$secondString"}
|
||||
echo ::set-env name=DEVELOPMENT_BRANCH::${firstString/build//"$secondString"}
|
||||
- name: GIT commit and push all changed files
|
||||
env:
|
||||
CI_COMMIT_MESSAGE: converted to yml for review.
|
||||
|
|
|
@ -3,7 +3,7 @@ run-name: ${{ github.actor }} is learning GitHub Actions
|
|||
on:
|
||||
push:
|
||||
branches:
|
||||
- 'develop-**'
|
||||
- 'develop/**'
|
||||
jobs:
|
||||
build-branch:
|
||||
runs-on: ubuntu-latest
|
||||
|
@ -34,7 +34,7 @@ jobs:
|
|||
run: |
|
||||
firstString=${{ github.ref_name }}
|
||||
secondString="build-"
|
||||
echo ::set-env name=BUILD_BRANCH::${firstString/develop-/"$secondString"}
|
||||
echo ::set-env name=BUILD_BRANCH::${firstString/develop//"$secondString"}
|
||||
- name: GIT commit and push all changed files
|
||||
env:
|
||||
CI_COMMIT_MESSAGE: Development branch built to xml.
|
||||
|
|
|
@ -3,7 +3,7 @@ run-name: ${{ github.actor }} is learning GitHub Actions
|
|||
on:
|
||||
push:
|
||||
branches:
|
||||
- 'format-**'
|
||||
- 'format/**'
|
||||
jobs:
|
||||
develop-branch:
|
||||
runs-on: ubuntu-latest
|
||||
|
@ -24,7 +24,7 @@ jobs:
|
|||
run: |
|
||||
firstString=${{ github.ref_name }}
|
||||
secondString="develop-"
|
||||
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
|
||||
|
|
|
@ -27,7 +27,7 @@ jobs:
|
|||
run: |
|
||||
firstString=${{ github.head_ref }}
|
||||
secondString="build-"
|
||||
echo ::set-env name=BUILD_BRANCH::${firstString/develop-/"$secondString"}
|
||||
echo ::set-env name=BUILD_BRANCH::${firstString/develop//"$secondString"}
|
||||
if_merged:
|
||||
if: github.event.pull_request.merged == true
|
||||
runs-on: ubuntu-latest
|
||||
|
@ -48,4 +48,4 @@ jobs:
|
|||
run: |
|
||||
firstString=${{ github.head_ref }}
|
||||
secondString="build-"
|
||||
echo ::set-env name=BUILD_BRANCH::${firstString/develop-/"$secondString"}
|
||||
echo ::set-env name=BUILD_BRANCH::${firstString/develop//"$secondString"}
|
||||
|
|
|
@ -33,7 +33,7 @@ jobs:
|
|||
run: |
|
||||
firstString=${{ github.ref_name }}
|
||||
secondString="build-"
|
||||
echo ::set-env name=BUILD_BRANCH::${firstString/develop-/"$secondString"}
|
||||
echo ::set-env name=BUILD_BRANCH::${firstString/develop//"$secondString"}
|
||||
- name: GIT commit and push all changed files
|
||||
env:
|
||||
CI_COMMIT_MESSAGE: Reopened PR copnverted to xml.
|
||||
|
|
|
@ -30,5 +30,5 @@ jobs:
|
|||
git config --global user.name "${{ env.CI_COMMIT_AUTHOR }}"
|
||||
git config --global user.email "username@users.noreply.github.com"
|
||||
git add -A
|
||||
git commit -a -m "${{ github.ref_name }} -> refs/heads/deployed-${{ github.ref_name }} "
|
||||
git commit -a -m "${{ github.ref_name }} -> refs/heads/deployed/${{ github.ref_name }} "
|
||||
git push origin HEAD:refs/heads/deployed-${{ github.ref_name }}
|
||||
|
|
Loading…
Reference in New Issue