Skip to content

Commit

Permalink
ADD duplicate method for the metric image
Browse files Browse the repository at this point in the history
  • Loading branch information
karminski committed Jan 26, 2025
1 parent 4d76910 commit b358531
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/metrics.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,15 @@ jobs:
- name: Remove h2 tags from SVG
run: |
perl -i -p0e 's/<h2[^>]*>.*?<\/h2>//gs' assets/images/metrics.svg
cp assets/images/metrics.svg assets/images/metrics-without-label.svg
- name: Commit changes
run: |
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git add assets/images/metrics.svg
git commit -m "chore: remove h2 tags from metrics svg" || echo "No changes to commit"
git pull --rebase
git add assets/images/metrics.svg assets/images/metrics-without-label.svg
git commit -m "chore: update metrics svg files" || echo "No changes to commit"
git push
actions-timeline:
Expand Down

0 comments on commit b358531

Please sign in to comment.