Skip to content

Commit

Permalink
Fix GitHub Pages action
Browse files Browse the repository at this point in the history
  • Loading branch information
Karthik99999 committed Feb 20, 2024
1 parent c4aff3f commit 7b61ffe
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/deploy.yml → .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build and Deploy
name: Deploy to GitHub Pages
on:
push:
branches:
Expand All @@ -19,15 +19,17 @@ jobs:
- uses: oven-sh/setup-bun@v1
with:
bun-version: 1.0.x
- name: Install Dependencies
run: bun install
- name: Build
run: |
bun install
bun run build
- name: Upload artifact for GitHub Pages
env:
BASE_PATH: '/${{ github.event.repository.name }}'
run: bun run build
- name: Upload Artifacts
uses: actions/upload-pages-artifact@v2
with:
path: 'build'
- uses: actions/configure-pages@v3
- name: Deploy to GitHub Pages
- name: Deploy
id: deployment
uses: actions/deploy-pages@v2
Empty file removed static/.nojekyll
Empty file.

0 comments on commit 7b61ffe

Please sign in to comment.