mirror of
https://github.com/jackyzha0/quartz.git
synced 2026-03-24 23:15:46 -05:00
Update deploy-test-only.yml
This commit is contained in:
parent
664f9b5bd5
commit
872ba28070
9
.github/workflows/deploy-test-only.yml
vendored
9
.github/workflows/deploy-test-only.yml
vendored
@ -20,7 +20,7 @@ defaults:
|
||||
shell: bash
|
||||
|
||||
jobs:
|
||||
setup:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
@ -33,11 +33,6 @@ jobs:
|
||||
node-version: 18
|
||||
- name: Install Dependencies
|
||||
run: npm i
|
||||
|
||||
build:
|
||||
needs: setup
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Build Quartz Site
|
||||
run: npm run build
|
||||
- name: Upload artifact
|
||||
@ -46,7 +41,7 @@ jobs:
|
||||
path: public
|
||||
|
||||
deploy:
|
||||
needs: [setup, build]
|
||||
needs: build
|
||||
environment:
|
||||
name: github-pages
|
||||
url: ${{ steps.deployment.outputs.page_url }}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user