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