From f3b6c46fed847457a88950c07872ac775c0b50f4 Mon Sep 17 00:00:00 2001 From: Peaceultime Date: Thu, 14 Dec 2023 15:39:38 +0100 Subject: [PATCH] Tests --- .github/actions/deploy-quartz/Dockerfile | 2 +- .github/workflows/deploy.yml | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/actions/deploy-quartz/Dockerfile b/.github/actions/deploy-quartz/Dockerfile index 3df0957..798b3aa 100644 --- a/.github/actions/deploy-quartz/Dockerfile +++ b/.github/actions/deploy-quartz/Dockerfile @@ -1,6 +1,6 @@ FROM node:20-slim as builder WORKDIR /usr/src/app -COPY /quartz . +COPY /workspace/jackyzha0/quartz /usr/src/app RUN npm ci COPY /workspace/Peaceultime/system-aspect /workspace/Peaceultime/system-aspect diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 72f05fd..72a0f7a 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -18,7 +18,11 @@ jobs: uses: actions/checkout@v3 with: fetch-depth: 0 # Fetch all history for git info - - name: "Get Quartz" - run: git clone https://github.com/jackyzha0/quartz.git /quartz + + - name: "Fetching Quartz" + uses: actions/checkout@v3 + with: + repository: 'jackyzha0/quartz' + - name: "Building Quartz content" uses: ./.github/actions/deploy-quartz \ No newline at end of file