mirror of
https://github.com/AdisonCavani/distro-grub-themes.git
synced 2025-06-02 21:52: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:
|
||||
push:
|
||||
branches: [ master ]
|
||||
branches: [master]
|
||||
paths:
|
||||
- 'assets/icons'
|
||||
- 'customize/**'
|
||||
- 'fonts'
|
||||
- "assets/**"
|
||||
- "customize/**"
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
- name: 🖼️ Update icons
|
||||
run: |
|
||||
for dest in customize/* ; do cp -rv assets/icons "$dest"; done
|
||||
- name: 📇 Update fonts
|
||||
run: |
|
||||
for dest in customize/* ; do cp -rva fonts/. "$dest"; done
|
||||
- name: 💼 Update archives
|
||||
run: |
|
||||
cd customize;
|
||||
for dest in * ; do find "$dest" -printf "%P\n" | tar -vcf ../themes/"$dest".tar --no-recursion -C "$dest" -T -; done
|
||||
- name: 🔥 Commit changes
|
||||
run: |
|
||||
git config user.name github-actions
|
||||
git config user.email github-actions@github.com
|
||||
git fetch
|
||||
git add .
|
||||
git commit -m "🤖 Update files"
|
||||
git push
|
||||
- uses: actions/checkout@master
|
||||
- name: 🖼️ Update icons
|
||||
run: |
|
||||
for dest in customize/* ; do cp -rv assets/icons "$dest"; done
|
||||
- name: 📇 Update fonts
|
||||
run: |
|
||||
for dest in customize/* ; do cp -rva assets/fonts/. "$dest"; done
|
||||
- name: 💼 Update archives
|
||||
run: |
|
||||
cd customize;
|
||||
for dest in * ; do find "$dest" -printf "%P\n" | tar -vcf ../themes/"$dest".tar --no-recursion -C "$dest" -T -; done
|
||||
- name: 🔥 Commit changes
|
||||
run: |
|
||||
git config user.name github-actions
|
||||
git config user.email github-actions@github.com
|
||||
git fetch
|
||||
git add .
|
||||
git commit -m "🤖 Update files"
|
||||
git push
|
||||
|
|
Loading…
Add table
Reference in a new issue