Skip to content

Commit

Permalink
Update github action
Browse files Browse the repository at this point in the history
  • Loading branch information
Marven11 committed Aug 15, 2023
1 parent 3262f1a commit ccdf850
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/update-star-charts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,20 @@ permissions:
jobs:
update:
runs-on: ubuntu-latest

steps:
- name: Switch to another branch
uses: actions/checkout@v3
- name: Switch to another branch
run: git checkout images
with:
ref: 'images'
- name: Update Star Charts
run: |
wget -O assets/stars.svg https://starchart.cc/Marven11/Fenjing.svg
wget -O assets/run-tests.svg https://github.com/Marven11/Fenjing/actions/workflows/run-tests.yml/badge.svg
wget -O assets/python-package.svg https://github.com/Marven11/Fenjing/actions/workflows/python-publish.yml/badge.svg
wget -O assets/codecov.svg https://codecov.io/gh/Marven11/Fenjing/branch/main/graph/badge.svg?token=DLP7OH52P3
wget -O assets/downloads.svg https://static.pepy.tech/badge/fenjing
wget -O assets/downloads-monthly.svg https://static.pepy.tech/badge/fenjing/month
wget -O assets/license.svg https://img.shields.io/badge/license-MPL2.0-blue
git config --local user.email "[email protected]"
git config --local user.name "GitHub Actions"
git add . && git commit -m 'Update: '"$(date)" && git push

0 comments on commit ccdf850

Please sign in to comment.