Skip to content

Commit

Permalink
Swich to just for the PR test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
offbyone committed Sep 11, 2023
1 parent 6246c17 commit 593a3dd
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:

steps:
- uses: actions/checkout@v2
- uses: extractions/setup-just@v1

- name: Set up Python 3
uses: actions/setup-python@v2
Expand All @@ -38,4 +39,4 @@ jobs:
run: git clone https://github.com/getpelican/pelican-plugins

- name: Build the page
run: inv site
run: just build
7 changes: 6 additions & 1 deletion justfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,12 @@ invalidate:
--distribution-id E3HG7SIR4ZZAS1 \
--paths "/*"

@build settings="pelicanconf.py":
prepare_fonts:
rsync -pthrvz \
node_modules/@fortawesome/fontawesome-free/webfonts/ \
themes/offby1/static/webfonts/

@build settings="pelicanconf.py": prepare_fonts
pelican -s {{settings}} -o output content

generate: (build "publishconf.py")
Expand Down

0 comments on commit 593a3dd

Please sign in to comment.