From 309a513a3e9dc4f48aaed51b0062a05ad94d5123 Mon Sep 17 00:00:00 2001 From: Adison Cavani Date: Wed, 26 Jan 2022 18:58:45 +0100 Subject: [PATCH] Update workflow to update archives --- .github/workflows/update-content.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/update-content.yml b/.github/workflows/update-content.yml index b5ec89e..4bc2730 100644 --- a/.github/workflows/update-content.yml +++ b/.github/workflows/update-content.yml @@ -14,12 +14,16 @@ jobs: steps: - uses: actions/checkout@master - - name: 🌵 Update icons + - name: 🖼️ Update icons run: | for dest in customize/* ; do cp -rv assets/icons "$dest"; done - - name: 🦬 Update fonts + - name: 📇 Update fonts run: | for dest in customize/* ; do cp -rva font/. "$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