diff --git a/.github/actions/deploy-quartz/Dockerfile b/.github/actions/deploy-quartz/Dockerfile index 798b3aa..9ef81f4 100644 --- a/.github/actions/deploy-quartz/Dockerfile +++ b/.github/actions/deploy-quartz/Dockerfile @@ -1,7 +1,6 @@ FROM node:20-slim as builder -WORKDIR /usr/src/app -COPY /workspace/jackyzha0/quartz /usr/src/app +COPY /workspace/Peaceultime/system-aspect /usr/src/app +WORKDIR /usr/src/app/quartz RUN npm ci -COPY /workspace/Peaceultime/system-aspect /workspace/Peaceultime/system-aspect -CMD ["npx", "quartz", "build", "-d", "/workspace/Peaceultime/system-aspect", "-o", "/output"] \ No newline at end of file +CMD ["npx", "quartz", "build", "-d", "/usr/src/app/content", "-o", "/usr/src/app/output"] \ No newline at end of file diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index f4e0730..37e5650 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -17,13 +17,14 @@ jobs: - name: "Checkout" uses: actions/checkout@v3 with: + path: 'content' fetch-depth: 0 # Fetch all history for git info - name: "Fetching Quartz" uses: actions/checkout@v3 with: repository: 'jackyzha0/quartz' - path: '../quartz' + path: 'quartz' github-server-url: 'https://github.com' - name: "Building Quartz content"