Skip to content

Commit b1fd970

Browse files
committed
.github/workflows/doc: add stats through theme
1 parent dd89404 commit b1fd970

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/doc.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,14 @@ jobs:
1212
steps:
1313
- uses: actions/checkout@v4
1414
- uses: cachix/install-nix-action@v30
15+
- name: Create production theme
16+
run: |
17+
echo >> doc/book.toml
18+
echo "[output.html]" >> doc/book.toml
19+
echo 'theme="theme"' >> doc/book.toml
20+
mkdir doc/theme
21+
echo '<script defer data-domain="astro.github.io" src="https://p.spaceboyz.net/js/script.js"></script>' > doc/theme/head.hbs
22+
git add doc/theme
1523
- name: Build
1624
run: nix build .#doc
1725
- name: Deploy

0 commit comments

Comments
 (0)