Skip to content

Commit

Permalink
Correct build
Browse files Browse the repository at this point in the history
Signed-off-by: worksofliam <mrliamallan@live.co.uk>
  • Loading branch information
worksofliam committed Nov 23, 2024
1 parent 49f0d95 commit 90574a8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/astro.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ jobs:
- name: Install dependencies
run: ${{ steps.detect-package-manager.outputs.manager }} ${{ steps.detect-package-manager.outputs.command }}
working-directory: ${{ env.BUILD_PATH }}
- name: Build API docs
run: npm run devdocs
- name: Build with Astro
run: |
${{ steps.detect-package-manager.outputs.runner }} astro build \
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"scripts": {
"dev": "astro dev",
"start": "astro dev",
"build": "npm run devdocs && astro check && astro build",
"build": "astro check && astro build",
"preview": "astro preview",
"astro": "astro",
"devdocs": "npx tsx src/api/gen.ts"
Expand Down

0 comments on commit 90574a8

Please sign in to comment.