From 3c4a847c255d2dc9f49009692b390af49543a0a5 Mon Sep 17 00:00:00 2001 From: Hongbo Wu Date: Fri, 10 Feb 2023 13:21:15 +0800 Subject: [PATCH] Add job to commit changes and push --- .github/workflows/static.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index de9e945c6..af09c83a3 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -48,6 +48,15 @@ jobs: run: | cd packages/readabilityjs/test python generate_static.py + - name: Commit changes and push + uses: EndBug/add-and-commit@v9 + with: + push: true + branch: ${{ github.ref }} + message: 'Update generated html' + add: '.' + author_name: 'GitHub Actions' + author_email: 'github-actions[bot]@users.noreply.github.com' deploy: needs: generate-static environment: