Switch site build to shared GameCult-Quartz
This commit is contained in:
parent
e64455a3c5
commit
69ad22885d
196 changed files with 81 additions and 33057 deletions
47
.github/workflows/deploy-quartz.yml
vendored
47
.github/workflows/deploy-quartz.yml
vendored
|
|
@ -16,46 +16,9 @@ concurrency:
|
|||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Configure Pages
|
||||
uses: actions/configure-pages@v5
|
||||
|
||||
- name: Setup Node
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 24
|
||||
cache: npm
|
||||
cache-dependency-path: quartz-site/package-lock.json
|
||||
|
||||
- name: Install dependencies
|
||||
working-directory: quartz-site
|
||||
run: npm ci
|
||||
|
||||
- name: Restore Quartz launcher permissions
|
||||
working-directory: quartz-site
|
||||
run: chmod +x quartz/bootstrap-cli.mjs quartz/bootstrap-worker.mjs
|
||||
|
||||
- name: Build Quartz site
|
||||
working-directory: quartz-site
|
||||
run: npm run build
|
||||
|
||||
- name: Upload Pages artifact
|
||||
uses: actions/upload-pages-artifact@v3
|
||||
with:
|
||||
path: quartz-site/public
|
||||
|
||||
deploy:
|
||||
environment:
|
||||
name: github-pages
|
||||
url: ${{ steps.deployment.outputs.page_url }}
|
||||
runs-on: ubuntu-latest
|
||||
needs: build
|
||||
steps:
|
||||
- name: Deploy to GitHub Pages
|
||||
id: deployment
|
||||
uses: actions/deploy-pages@v4
|
||||
uses: GameCult/GameCult-Quartz/.github/workflows/quartz-pages.yml@main
|
||||
with:
|
||||
content-dir: Aetheria
|
||||
overlay-dir: site
|
||||
output-dir: quartz-site/public
|
||||
|
|
|
|||
Loading…
Reference in a new issue