Skip to content

Commit

Permalink
Fix Ci (#9)
Browse files Browse the repository at this point in the history
Fix bun installation in GitHub Actions runner
  • Loading branch information
Fancy2209 authored Dec 5, 2023
1 parent 98b4965 commit ef0e846
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on:
push:
branches:
- main # default branch

jobs:
pages:
runs-on: ubuntu-latest
Expand All @@ -21,15 +20,16 @@ jobs:
key: ${{ runner.OS }}-npm-cache
restore-keys: |
${{ runner.OS }}-npm-cache
- name: Install bun
run: npm i -G bun
- name: Install Dependencies
run: bun install
uses: oven-sh/setup-bun@v1 # Setup bun
with:
bun-version: latest
- run: bun install
- name: Build
run: npm run build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public
publish_branch: gh-pages # deploying branch
publish_branch: gh-pages # deploying branch

0 comments on commit ef0e846

Please sign in to comment.