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")