Skip to content

Commit

Permalink
skip the photos page
Browse files Browse the repository at this point in the history
  • Loading branch information
Dana Merrick committed Dec 1, 2024
1 parent 5da0e4f commit e7618d9
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
14 changes: 14 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,20 @@ jobs:
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
restore-keys: |
${{ runner.os }}-gems-
- name: Install pngout
run: |
# wget http://static.jonof.id.au/dl/kenutils/pngout-20200115-linux-static.tar.gz
# tar -xvf pngout-20200115-linux-static.tar.gz
# sudo mv pngout-20200115-linux-static/x86_64/pngout /usr/local/bin/
# rm -rf pngout-20200115-linux-static*
sudo apt-get update
sudo apt-get install -y wget
wget https://www.jonof.id.au/files/kenutils/pngout-20200115-linux.tar.gz
tar -xvf pngout-20200115-linux.tar.gz
ls -al
ls -al pngout-20200115-linux/x86_64
sudo mv pngout-20200115-linux/x86_64/pngout /usr/local/bin/
rm -rf pngout-20200115-linux*
- name: Install Gems
run: |
# use a bundler that supports our ancient ruby
Expand Down
2 changes: 1 addition & 1 deletion config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
# create a photo landing page for every image
ready do
# Iterate over all .html.md.erb files to find associated images
sitemap.resources.select { |r| r.path.end_with?(".html") }.each do |page|
sitemap.resources.select { |r| r.path.end_with?(".html") && !r.path.include?("photo.html") }.each do |page|
# Get the directory for the page
page_dir = File.dirname(page.path)

Expand Down

0 comments on commit e7618d9

Please sign in to comment.