Skip to content

Commit

Permalink
Fix deploy workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
drinkius committed Dec 21, 2023
1 parent 1c93cc2 commit f491773
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,20 +32,17 @@ jobs:
uses: actions/checkout@v3
with:
fetch-depth: 0 # Not needed if lastUpdated is not enabled
- uses: oven-sh/setup-bun@v1 # Uncomment this if you're using Bun
- name: Setup Node
uses: actions/setup-node@v3
- name: Setup Bun
uses: oven-sh/setup-bun@v1
with:
node-version: 18
cache: bun # npm # or pnpm / yarn
bun-version: "latest"
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Install dependencies
run: bun install
- name: Build with VitePress
run: |
bun run docs:build
touch docs/.vitepress/dist/.nojekyll
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
Expand Down
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,7 @@
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# VitePress
.vitepress/cache
.vitepress/dist
Empty file added .nojekyll
Empty file.

0 comments on commit f491773

Please sign in to comment.