Skip to content

add whUSDC

add whUSDC #2

name: Resize Images
on:
push:
paths:
- "fantom/tokens/*"
jobs:
resize-images:
runs-on: ubuntu-latest
# runs-on: self-hosted
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Resize images
uses: ./.github/actions/image-resizer
with:
path: "fantom/tokens/"
size: "128x128"
subfolder_name: "128x128"
- name: Configure Git
run: |
git config --global user.email "[email protected]"
git config --global user.name "0xZod"
- name: Commit resized images
run: |
git add fantom/tokens/128x128/
git commit -m "Add resized images" || echo "No changes to commit"
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ github.ref }}