Update .github/workflows/deploy.yml
This commit is contained in:
15
.github/workflows/deploy.yml
vendored
15
.github/workflows/deploy.yml
vendored
@@ -6,15 +6,6 @@ on:
|
|||||||
- main
|
- main
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
permissions:
|
|
||||||
contents: read
|
|
||||||
pages: write
|
|
||||||
id-token: write
|
|
||||||
|
|
||||||
concurrency:
|
|
||||||
group: "pages"
|
|
||||||
cancel-in-progress: false
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: moln
|
runs-on: moln
|
||||||
@@ -32,14 +23,14 @@ jobs:
|
|||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: npm ci
|
run: npm ci
|
||||||
|
|
||||||
- name: Build Quartz site
|
|
||||||
run: npx quartz build
|
|
||||||
|
|
||||||
- name: Git LFS checkout
|
- name: Git LFS checkout
|
||||||
run: |
|
run: |
|
||||||
git lfs fetch
|
git lfs fetch
|
||||||
git lfs checkout
|
git lfs checkout
|
||||||
|
|
||||||
|
- name: Build Quartz site
|
||||||
|
run: npx quartz build
|
||||||
|
|
||||||
- name: Publish
|
- name: Publish
|
||||||
run: rsync -av public/ ~/notes/
|
run: rsync -av public/ ~/notes/
|
||||||
|
|
||||||
Reference in New Issue
Block a user