diff --git a/.gitea/workflows/convert-to-xml.yml b/.gitea/workflows/convert-to-xml.yml index d50507f..c75c4f6 100644 --- a/.gitea/workflows/convert-to-xml.yml +++ b/.gitea/workflows/convert-to-xml.yml @@ -1,12 +1,10 @@ name: convert-to-xml run-name: ${{ github.actor }} is learning GitHub Actions -on: [push] +on: + push: + branches: + - master jobs: - master: - on: - push: - branches: - - master runs-on: ubuntu-latest steps: # https://github.com/RouxAntoine/checkout/tree/v3.5.4 @@ -25,5 +23,6 @@ jobs: run: | 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 "${{ env.CI_COMMIT_MESSAGE }} xml files converted to yml" git push -f origin HEAD:deployed \ No newline at end of file diff --git a/.gitea/workflows/convert-to-yml.yml b/.gitea/workflows/convert-to-yml.yml index a1dfdf7..8eeb54a 100644 --- a/.gitea/workflows/convert-to-yml.yml +++ b/.gitea/workflows/convert-to-yml.yml @@ -1,12 +1,11 @@ name: convert-to-yml run-name: ${{ github.actor }} is learning GitHub Actions -on: [push] +on: + push: + branches: + - format-branch jobs: format-branch: - on: - push: - branches: - - format-branch runs-on: ubuntu-latest steps: # https://github.com/RouxAntoine/checkout/tree/v3.5.4 @@ -26,5 +25,6 @@ jobs: ls 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 "${{ env.CI_COMMIT_MESSAGE }} xml files converted to yml" git push -f origin HEAD:product-development \ No newline at end of file