Skip to content

Commit

Permalink
build: deploy docs to GH Pages via GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
xmlking committed May 19, 2024
1 parent 2e14368 commit a059918
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/docs-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ jobs:
fetch-depth: 0
- name: Setup Pages 📄
uses: actions/configure-pages@v5
with:
enablement: true
- name: Setup PNPM 📃
uses: pnpm/action-setup@v3
- name: Setup Node 📐
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ export default defineConfig({
applyBaseStyles: false
})
],
output: process.env.VERCEL ? 'static' : 'hybrid',
output: process.env.CI ? 'static' : 'hybrid',
// HINT: To set build output, same way like sveltekit for Dockerfile
build: {
server: './build',
Expand Down

0 comments on commit a059918

Please sign in to comment.