Skip to content

Commit

Permalink
.github/workflows/doc: add stats through theme
Browse files Browse the repository at this point in the history
  • Loading branch information
astro committed Nov 19, 2024
1 parent dd89404 commit fc8ee7b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v30
- name: Create production theme
run: |
echo "\n[output.html]\ntheme=\"theme\"" >> doc/book.toml
mkdir doc/theme
echo '<script defer data-domain="astro.github.io" src="https://p.spaceboyz.net/js/script.js"></script>' > doc/theme/head.hbs
git add doc/theme
- name: Build
run: nix build .#doc
- name: Deploy
Expand Down

0 comments on commit fc8ee7b

Please sign in to comment.