Skip to content

Commit

Permalink
more config updates :D
Browse files Browse the repository at this point in the history
  • Loading branch information
duelingbenjos committed Jun 14, 2024
1 parent bffe303 commit 5b2e27d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ permissions:
concurrency:
group: pages
cancel-in-progress: false

jobs:
# Build job
build:
Expand All @@ -31,25 +32,24 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 0 # Not needed if lastUpdated is not enabled
# - uses: pnpm/action-setup@v3 # Uncomment this if you're using pnpm
# - uses: oven-sh/setup-bun@v1 # Uncomment this if you're using Bun
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20
cache: npm # or pnpm / yarn
- name: Setup Pages
uses: actions/configure-pages@v4
- name: Create docs directory
run: mkdir -p docs
- name: Install dependencies
run: npm ci # or pnpm install / yarn install / bun install
- name: Build with VitePress
run: npm run build:prod
- name: Create .nojekyll file
run: echo "" > docs/.nojekyll
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: docs/

# Deployment job
deploy:
environment:
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
.vitepress/cache
.vitepress/dist
node_modules
docs
Empty file added docs/.gitkeep
Empty file.

0 comments on commit 5b2e27d

Please sign in to comment.