From 593a3dde4ec933ada2f050390364c717172d4b32 Mon Sep 17 00:00:00 2001 From: Chris Rose Date: Sun, 10 Sep 2023 21:53:22 -0700 Subject: [PATCH] Swich to just for the PR test workflow --- .github/workflows/pr.yml | 3 ++- justfile | 7 ++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index f08aa2d..8ab5fc2 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -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 @@ -38,4 +39,4 @@ jobs: run: git clone https://github.com/getpelican/pelican-plugins - name: Build the page - run: inv site + run: just build diff --git a/justfile b/justfile index 3ea669d..45fba87 100644 --- a/justfile +++ b/justfile @@ -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")