Add job to commit changes and push

This commit is contained in:
Hongbo Wu
2023-02-10 13:21:15 +08:00
parent 989ff56e13
commit 3c4a847c25

View File

@ -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: