Skip to content

Commit

Permalink
Updating build
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaland committed Oct 26, 2024
1 parent a4f133f commit f87a141
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 10 deletions.
23 changes: 13 additions & 10 deletions .github/workflows/deploy_pages.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Build Quartz Site
on:
push:
branches: ["main"]
push:
branches: ["main"]
permissions:
contents: read
pages: write
Expand All @@ -12,17 +12,20 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "20"
- name: Install Dependencies
run: npm install
- name: Build Quartz Site
run: npx quartz build
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Build
uses: konstfish/quartz-build-action@v1
with:
source: content
quartz_config: quartz.config.ts
quartz_layout: quartz.layout.ts
quartz_icon: quartz/static/icon.png
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
uses: actions/upload-pages-artifact@v3
with:
path: public
deploy:
runs-on: ubuntu-latest
needs: build
Expand Down
Binary file modified quartz/static/og-image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit f87a141

Please sign in to comment.