Skip to content

Commit

Permalink
put thing in thing
Browse files Browse the repository at this point in the history
  • Loading branch information
s7uck authored Aug 16, 2024
1 parent 7142639 commit e69ada2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pages-upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- name: Install SSG
run: sudo apt-get install ruby jekyll ruby-jekyll-feed
run: sudo apt-get install ruby jekyll
- name: Install exiftool
run: sudo apt-get install exiftool ruby-mini-exiftool webp
- name: Setup Pages
Expand All @@ -36,7 +36,7 @@ jobs:
JEKYLL_ENV: production
- name: Create compressed versions of each photo
working-directory: './photos'
run: for file in **/**/*; do cwebp "$file" -o "${file%.*}.webp" -size 524288 || continue; done
run: find photos | parallel -eta cwebp "{}" -o "{.}.webp" -size 524288
- name: Upload artifact
uses: actions/upload-pages-artifact@v3

Expand Down

0 comments on commit e69ada2

Please sign in to comment.