Skip to content

Commit 0877f33

Browse files
committed
chore: Update CI workflow to include build and deploy steps
1 parent 4a8c6f9 commit 0877f33

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/ci.yaml

+17
Original file line numberDiff line numberDiff line change
@@ -82,3 +82,20 @@ jobs:
8282
name: Install dependencies
8383
- name: Build
8484
run: npx -y quartz build --bundleInfo
85+
- uses: actions/upload-pages-artifact@v3
86+
with:
87+
path: public
88+
89+
deploy:
90+
needs: build
91+
runs-on: ubuntu-latest
92+
permissions:
93+
contents: write
94+
id-token: write
95+
environment:
96+
name: github-pages
97+
url: ${{ steps.deployment.outputs.page_url }}
98+
steps:
99+
- name: Deploy to GitHub Pages
100+
id: deployment
101+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)