From dc72087c79e60e7a0cf5e0d4a5017b22a3d9d0bf Mon Sep 17 00:00:00 2001 From: Kentaro Miki Date: Fri, 10 Nov 2023 15:13:36 +0900 Subject: [PATCH] Update `deployment.yaml` --- .github/workflows/deployment.yaml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/workflows/deployment.yaml b/.github/workflows/deployment.yaml index 1a586ca..96abf54 100644 --- a/.github/workflows/deployment.yaml +++ b/.github/workflows/deployment.yaml @@ -23,21 +23,15 @@ jobs: id: update run: git submodule update --remote --recursive - - name: Run git status - id: status - run: echo "::set-output name=status::$(git status -s)" - - name: Add and commit files run: | git add . git config --local user.name mikiken git config --local user.email mikiken.dev@gmail.com git commit -m "Update submodule via github-actions" - if: ${{ steps.status.outputs.status }} - name: Push changes uses: ad-m/github-push-action@master with: github_token: ${{ secrets.ACTIONS_DEPLOY_KEY }} - branch: main - if: ${{ steps.status.outputs.status && github.event_name == 'push' }} \ No newline at end of file + branch: main \ No newline at end of file