subst
convert-to-yml / format-branch (push) Successful in 21s
Details
convert-to-yml / format-branch (push) Successful in 21s
Details
This commit is contained in:
parent
2d3e6b63be
commit
1b84ed759d
|
@ -4,7 +4,7 @@ on:
|
|||
push:
|
||||
jobs:
|
||||
format-branch:
|
||||
if: ${{ ! startsWith(github.ref_name, 'format-') }}
|
||||
if: ${{ startsWith(github.ref_name, 'format-') }}
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
# https://github.com/RouxAntoine/checkout/tree/v3.5.4
|
||||
|
@ -16,6 +16,11 @@ jobs:
|
|||
with:
|
||||
action: yml
|
||||
path: '.'
|
||||
- name: get production branch name
|
||||
run: |
|
||||
firstString=${{ github.ref_name }}
|
||||
secondString="develop-"
|
||||
echo "${firstString/format-/"$secondString"}"
|
||||
- name: GIT commit and push all changed files
|
||||
env:
|
||||
CI_COMMIT_MESSAGE: Continuous Integration Build Artifacts
|
||||
|
|
Loading…
Reference in New Issue