1
0
Fork 0
mirror of https://github.com/walkxcode/dashboard-icons.git synced 2024-12-28 12:42:30 +01:00

💚 Fixes dev runs

This commit is contained in:
Bjorn Lammers 2024-10-20 19:37:43 +02:00
parent 04f6e8feb0
commit 3cd1a7cb41
No known key found for this signature in database
4 changed files with 26 additions and 7 deletions

View file

@ -12,10 +12,14 @@ on:
jobs:
compress_pngs:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout Repository
uses: actions/checkout@v3
with:
ref: ${{ github.ref_name }}
- name: Install Dependencies
run: |
@ -33,5 +37,5 @@ jobs:
git config --global user.name "Dashboard Icons Bot"
git add png/
git commit -m ":compression: Compressed PNGs" || exit 0
git pull --rebase
git push
git pull --rebase origin ${{ github.ref_name }}
git push origin HEAD:${{ github.ref_name }}

View file

@ -1,4 +1,4 @@
name: Convert SVG Assets 🔄
name: Convert SVG Assets ♻️
on:
push:
@ -10,10 +10,14 @@ on:
jobs:
convert_assets:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout Repository
uses: actions/checkout@v3
with:
ref: ${{ github.ref_name }}
- name: Set Up Python
uses: actions/setup-python@v4
@ -32,5 +36,6 @@ jobs:
git config --global user.email "noreply@lammers.media"
git config --global user.name "Dashboard Icons Bot"
git add png/ webp/
git commit -m ":counterclockwise_arrows: Convert SVG assets to PNG and WEBP" || exit 0
git push
git commit -m ":recycle: Convert SVG assets to PNG and WEBP" || exit 0
git pull --rebase origin ${{ github.ref_name }}
git push origin HEAD:${{ github.ref_name }}

View file

@ -10,10 +10,14 @@ on:
jobs:
generate_file_tree:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout Repository
uses: actions/checkout@v3
with:
ref: ${{ github.ref_name }}
- name: Set Up Python
uses: actions/setup-python@v4
@ -29,4 +33,5 @@ jobs:
git config --global user.name "Dashboard Icons Bot"
git add ../tree.json
git commit -m ":construction_worker: Generate file tree" || exit 0
git push
git pull --rebase origin ${{ github.ref_name }}
git push origin HEAD:${{ github.ref_name }}

View file

@ -10,10 +10,14 @@ on:
jobs:
build_icons_page:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout Repository
uses: actions/checkout@v3
with:
ref: ${{ github.ref_name }}
- name: Set Up Python
uses: actions/setup-python@v4
@ -29,4 +33,5 @@ jobs:
git config --global user.name "Dashboard Icons Bot"
git add ICONS.md
git commit -m ":construction_worker: Generate ICONS.md" || exit 0
git push
git pull --rebase origin ${{ github.ref_name }}
git push origin HEAD:${{ github.ref_name }}