mirror of
https://github.com/AdisonCavani/distro-grub-themes.git
synced 2025-06-04 14:32:34 +02:00
Move fonts to assets folder, update workflow
This commit is contained in:
parent
bbdaebce07
commit
7aa1e230c1
7 changed files with 23 additions and 24 deletions
47
.github/workflows/update-content.yml
vendored
47
.github/workflows/update-content.yml
vendored
|
@ -2,33 +2,32 @@ name: Update changes on commit
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ master ]
|
branches: [master]
|
||||||
paths:
|
paths:
|
||||||
- 'assets/icons'
|
- "assets/**"
|
||||||
- 'customize/**'
|
- "customize/**"
|
||||||
- 'fonts'
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
deploy:
|
deploy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@master
|
- uses: actions/checkout@master
|
||||||
- name: 🖼️ Update icons
|
- name: 🖼️ Update icons
|
||||||
run: |
|
run: |
|
||||||
for dest in customize/* ; do cp -rv assets/icons "$dest"; done
|
for dest in customize/* ; do cp -rv assets/icons "$dest"; done
|
||||||
- name: 📇 Update fonts
|
- name: 📇 Update fonts
|
||||||
run: |
|
run: |
|
||||||
for dest in customize/* ; do cp -rva fonts/. "$dest"; done
|
for dest in customize/* ; do cp -rva assets/fonts/. "$dest"; done
|
||||||
- name: 💼 Update archives
|
- name: 💼 Update archives
|
||||||
run: |
|
run: |
|
||||||
cd customize;
|
cd customize;
|
||||||
for dest in * ; do find "$dest" -printf "%P\n" | tar -vcf ../themes/"$dest".tar --no-recursion -C "$dest" -T -; done
|
for dest in * ; do find "$dest" -printf "%P\n" | tar -vcf ../themes/"$dest".tar --no-recursion -C "$dest" -T -; done
|
||||||
- name: 🔥 Commit changes
|
- name: 🔥 Commit changes
|
||||||
run: |
|
run: |
|
||||||
git config user.name github-actions
|
git config user.name github-actions
|
||||||
git config user.email github-actions@github.com
|
git config user.email github-actions@github.com
|
||||||
git fetch
|
git fetch
|
||||||
git add .
|
git add .
|
||||||
git commit -m "🤖 Update files"
|
git commit -m "🤖 Update files"
|
||||||
git push
|
git push
|
||||||
|
|
Loading…
Add table
Reference in a new issue