Skip to content

Commit

Permalink
should use apt to install stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
s7uck committed Aug 2, 2024
1 parent 584a5c2 commit cb9d58c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/pages-upload.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Deploy Jekyll site to Pages
name: Upload to GitHub Pages

on:
push:
Expand All @@ -24,7 +24,11 @@ jobs:
- name: Setup Pages
id: pages
uses: actions/configure-pages@v5
- name: Build with Jekyll
- name: Checkout photos
uses: actions/checkout@v4
with:
repository: 's7uck/photos'
- name: Build site
# Outputs to the './_site' directory by default
run: jekyll build --baseurl "${{ steps.pages.outputs.base_path }}"
env:
Expand Down
2 changes: 1 addition & 1 deletion _plugins/photo_gen.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
module Jekyll
class PhotoPageGenerator < Generator
def generate(site)
photos_dir = "/home/lubuntu/Immagini/Gallery" # temp
photos_dir = "photos" # aka my repo s7uck/photos
output_url = "/photos"
photos = []
FileUtils.mkdir_p(File.join(site.dest, output_url))
Expand Down

0 comments on commit cb9d58c

Please sign in to comment.