diff --git a/.github/workflows/Example.yml b/.github/workflows/Example.yml index 050e837f..99210917 100644 --- a/.github/workflows/Example.yml +++ b/.github/workflows/Example.yml @@ -88,7 +88,7 @@ jobs: git config --global user.name "${{ env.CI_COMMIT_AUTHOR }}" git config --global user.email "${{ env.CI_COMMIT_AUTHOR }}@users.noreply.github.com" git config --global core.autocrlf false - git add ${{ env.EXAMPLES_PATH }} + git add ${{ env.EXAMPLES_PATH }}/${{ matrix.file-name }}* git commit -m "${{ env.CI_COMMIT_MESSAGE }}" git push origin examples || (git reset --soft HEAD~1 && (exit 1))