Skip to content

Commit

Permalink
ci: build data.json
Browse files Browse the repository at this point in the history
  • Loading branch information
scarf005 committed Feb 19, 2024
1 parent ced4ee9 commit 6f14dfb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/pages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ jobs:
deno-version: v1.x

- name: Build site
run: deno task build
run: |
deno run -A doc/main.ts
deno task build
- name: Setup Pages
uses: actions/configure-pages@v3
Expand Down
Empty file added doc/assets/.gitkeep
Empty file.
2 changes: 1 addition & 1 deletion doc/index.page.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const readme = () =>
Deno.readTextFile(import.meta.dirname + "/../README.md")
.then((text) => text.replace("# StackGraph", ""))
.then((text) => text.split("\n").slice(3).join("\n"))

const header = /*md*/ `
# [StackGraph](https://github.com/daangn/stackgraph)
Expand Down

0 comments on commit 6f14dfb

Please sign in to comment.