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 b1fd970
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,14 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v30
- name: Create production theme
run: |
echo >> doc/book.toml
echo "[output.html]" >> doc/book.toml
echo 'theme="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 b1fd970

Please sign in to comment.