From d415e110a04cb8485bddeff5fcb68095788c4511 Mon Sep 17 00:00:00 2001 From: backwardspy Date: Sun, 17 Mar 2024 22:18:51 +0000 Subject: [PATCH] ci: actually minify css, add cname (#34) --- .github/workflows/gh-pages.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/gh-pages.yaml b/.github/workflows/gh-pages.yaml index 3c244a9..7caeed0 100644 --- a/.github/workflows/gh-pages.yaml +++ b/.github/workflows/gh-pages.yaml @@ -18,7 +18,7 @@ jobs: node-version: "latest" - run: "pip install catppuccin[pygments]" - run: "scripts/build-gh-pages" - - run: "npx lightningcss-cli ./gh-pages/pygments/*.css --output-dir ./gh-pages/pygments/" + - run: "npx lightningcss-cli --minify ./gh-pages/pygments/*.css --output-dir ./gh-pages/pygments/" - uses: "peaceiris/actions-gh-pages@v3" with: enable_jekyll: false @@ -26,4 +26,5 @@ jobs: publish_branch: "gh-pages" publish_dir: "./gh-pages" user_email: "github-actions[bot]@users.noreply.github.com" - user_name: "github-actions[bot]" \ No newline at end of file + user_name: "github-actions[bot]" + cname: "python.catppuccin.com"