From c26e878e9d0e2908c42bdb326b0aef8055dd99b1 Mon Sep 17 00:00:00 2001 From: Kellen <9484709+goodroot@users.noreply.github.com> Date: Tue, 3 Oct 2023 14:57:20 -0700 Subject: [PATCH] raise fetch depth (less) --- .github/workflows/netlify-preview.yml | 18 +----------------- .github/workflows/sync-deploy.yml | 2 +- 2 files changed, 2 insertions(+), 18 deletions(-) diff --git a/.github/workflows/netlify-preview.yml b/.github/workflows/netlify-preview.yml index 2d463d36..129faf0d 100644 --- a/.github/workflows/netlify-preview.yml +++ b/.github/workflows/netlify-preview.yml @@ -19,7 +19,7 @@ jobs: with: repository: questdb/questdb.io token: ${{ secrets.GH_PAT }} - fetch-depth: 0 + fetch-depth: 1 ref: "master" persist-credentials: true @@ -28,18 +28,6 @@ jobs: with: path: tmp - - name: List contents - run: | - ls -la - - - name: List contents - run: | - ls -la tmp/ - - - name: List contents - run: | - ls -la tmp/docs/ - - name: Move docs run: | cp -rvT tmp/docs docs/. @@ -48,10 +36,6 @@ jobs: run: | mv tmp/sidebars.js . - - name: Read sidebars.js - run: | - cat sidebars.js - - uses: jsmrcaga/action-netlify-deploy@v2.0.0 with: NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} diff --git a/.github/workflows/sync-deploy.yml b/.github/workflows/sync-deploy.yml index f5a6c9f6..2361e0d8 100644 --- a/.github/workflows/sync-deploy.yml +++ b/.github/workflows/sync-deploy.yml @@ -24,7 +24,7 @@ jobs: ref: "master" repository: "questdb/questdb.io" token: ${{ secrets.GH_PAT }} - fetch-depth: 0 + fetch-depth: 1 persist-credentials: true - name: Copy common files to new repo