workflows: fix update-files.yaml

This commit is contained in:
Sina Atalay
2024-07-23 19:18:06 +03:00
parent 721246171d
commit c11c3f32e2

View File

@@ -32,12 +32,14 @@ jobs:
git config --global user.email "${{ github.actor }}@users.noreply.github.com"
- name: Update schema.json
continue-on-error: true
run: |
hatch run docs:update-schema
git add schema.json
git commit -m "docs: update schema.json"
- name: Update `examples` folder
continue-on-error: true
run: |
hatch run docs:update-examples
git add examples/*
@@ -45,11 +47,13 @@ jobs:
git commit -m "docs: update examples"
- name: Update entry figures
continue-on-error: true
run: |
hatch run docs:update-entry-figures
git add docs/assets/images/**/*.png
git commit -m "docs: update entry figures"
- name: Push changes
continue-on-error: true
run: |
git push origin HEAD:main