Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
giper45 authored Aug 1, 2024
1 parent 1dd648a commit e56cfe2
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Build Site and Upload Artifact

on:
workflow_dispatch:
push:
pull_request:
branches: [ "main" ]
Expand Down Expand Up @@ -38,10 +39,19 @@ jobs:
- name: Install dependencies
run: pnpm install
- name: build artifact
run: pnpm run build

- run: pnpm run build
- uses: actions/upload-artifact@v3
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
name: dist
path: dist/
# Upload entire repository
path: 'dist'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4



0 comments on commit e56cfe2

Please sign in to comment.