From 97dd77bf56d2b788fde10d7aee1ba58a749fff33 Mon Sep 17 00:00:00 2001 From: Alexis Rico Date: Tue, 7 Nov 2023 08:40:35 +0100 Subject: [PATCH 1/2] Update sparse-checkout in workflows --- .github/workflows/deploy.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index f9ea6a5..ea66a11 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -15,11 +15,15 @@ jobs: steps: - name: Checkout website repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: xataio/frontend-next sparse-checkout: | + package.json + pnpm-lock.yaml apps/website + configs + packages ref: ${{ inputs.branch || 'main' }} token: ${{ secrets.GIT_TOKEN }} From f5a38ea705bfb8e841c9bb3f51a0981b35783e59 Mon Sep 17 00:00:00 2001 From: Alexis Rico Date: Tue, 7 Nov 2023 08:40:59 +0100 Subject: [PATCH 2/2] Update preview.yml --- .github/workflows/preview.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/preview.yml b/.github/workflows/preview.yml index 1d3822c..61e1b88 100644 --- a/.github/workflows/preview.yml +++ b/.github/workflows/preview.yml @@ -25,11 +25,15 @@ jobs: steps: - name: Checkout website repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: xataio/frontend-next sparse-checkout: | + package.json + pnpm-lock.yaml apps/website + configs + packages ref: ${{ inputs.branch || 'main' }} token: ${{ secrets.GIT_TOKEN }}