diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index ff764d9..407d30d 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -30,7 +30,6 @@ jobs: make build-image COMMIT_HASH=${{ github.event.inputs.commit-hash }} fi make all - git status - name: Publish (optional) if: ${{ github.event.inputs.commit-hash != 'default' }} @@ -38,6 +37,8 @@ jobs: echo "Publishing changes..." git config --global user.email "robot@umbrella"; git config --global user.name "robot"; + git add -A + git status git commit -am "Auto-update with COMMIT_HASH=${{ github.event.inputs.commit-hash }}" || echo "Nothing to commit" git push