Browse Source

update sponsors as part of "publish" workflow

Falko Schindler 6 tháng trước cách đây
mục cha
commit
9bd96f6926
1 tập tin đã thay đổi với 5 bổ sung3 xóa
  1. 5 3
      .github/workflows/publish.yml

+ 5 - 3
.github/workflows/publish.yml

@@ -100,7 +100,7 @@ jobs:
           provider: dockerhub
           short_description: "Web Based User Interface for Python with Buttons, Dialogs, Markdown, 3D Scenes and Plots"
 
-  update_metadata:
+  update_version_and_sponsors:
     needs: docker
     runs-on: ubuntu-latest
     steps:
@@ -112,12 +112,14 @@ jobs:
           python-version: "3.11"
       - name: Update version in pyproject.toml
         run: python .github/workflows/update_pyproject.py ${GITHUB_REF#refs/tags/}
+      - name: Update sponsors in README and on website
+        run: python .github/workflows/fetch_sponsors.py
       - name: Commit and push changes
         run: |
           git config --global user.name "github-actions[bot]"
           git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
-          git add CITATION.cff pyproject.toml
-          git commit -m "Update pyproject.toml"
+          git add pyproject.toml README.md website/sponsors.json
+          git commit -m "Update version and sponsors"
           git push origin HEAD:main
 
   verify: