diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index 87291f5..7c5df5c 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -20,8 +20,15 @@ jobs: - uses: actions/setup-node@v4 with: node-version: 24 - - id: clone quartz repo - run: git clone --depth 1 https://github.com/jackyzha0/quartz.git + - uses: actions/checkout@v6 + id: clone quartz repo + with: + # Repository name with owner. For example, actions/checkout + # Default: ${{ github.repository }} + repository: 'jackyzha0/quartz.git' + github-server-url: 'https://github.com/' + fetch-depth: 1 + ref: main - uses: actions/checkout@v6 id: get garden content with: