,,,
convert-to-yml / format-branch (push) Successful in 19s Details

This commit is contained in:
giles 2023-10-21 16:50:07 +01:00
parent a6dde0ac0f
commit 02e16fb3a1
2 changed files with 10 additions and 11 deletions

View File

@ -1,12 +1,10 @@
name: convert-to-xml name: convert-to-xml
run-name: ${{ github.actor }} is learning GitHub Actions run-name: ${{ github.actor }} is learning GitHub Actions
on: [push] on:
jobs:
master:
on:
push: push:
branches: branches:
- master - master
jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
# https://github.com/RouxAntoine/checkout/tree/v3.5.4 # https://github.com/RouxAntoine/checkout/tree/v3.5.4
@ -25,5 +23,6 @@ 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 add -A
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:deployed git push -f origin HEAD:deployed

View File

@ -1,12 +1,11 @@
name: convert-to-yml name: convert-to-yml
run-name: ${{ github.actor }} is learning GitHub Actions run-name: ${{ github.actor }} is learning GitHub Actions
on: [push] on:
jobs:
format-branch:
on:
push: push:
branches: branches:
- format-branch - format-branch
jobs:
format-branch:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
# https://github.com/RouxAntoine/checkout/tree/v3.5.4 # https://github.com/RouxAntoine/checkout/tree/v3.5.4
@ -26,5 +25,6 @@ jobs:
ls ls
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 add -A
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:product-development git push -f origin HEAD:product-development