Skip to content

Commit

Permalink
github pages fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ilkersigirci committed Feb 20, 2024
1 parent 2771e78 commit 5ef9607
Showing 1 changed file with 5 additions and 13 deletions.
18 changes: 5 additions & 13 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,31 +11,23 @@ jobs:
- name: Checkout
uses: actions/checkout@v3

# If you're using pnpm, add this step then change the commands and cache key below to use `pnpm`
# - name: Install pnpm
# uses: pnpm/action-setup@v2
# with:
# version: 8

- name: Install Node.js
uses: actions/setup-node@v3
- name: Setup bun
uses: oven-sh/setup-bun@v1
with:
node-version: 20
cache: npm
bun-version: latest

- name: Install dependencies
run: npm install
run: bun install

- name: build
env:
BASE_PATH: '/${{ github.event.repository.name }}'
run: |
npm run build
bun run build
- name: Upload Artifacts
uses: actions/upload-pages-artifact@v2
with:
# this should match the `pages` option in your adapter-static options
path: 'build/'

deploy:
Expand Down

0 comments on commit 5ef9607

Please sign in to comment.