From 98575d2e3548d066d54af87ff6ddcfba1b41c93d Mon Sep 17 00:00:00 2001 From: Lee Calcote Date: Mon, 31 Oct 2022 10:08:23 -0500 Subject: [PATCH] Update build-and-preview-site.yml Signed-off-by: Lee Calcote --- .github/workflows/build-and-preview-site.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-and-preview-site.yml b/.github/workflows/build-and-preview-site.yml index 1660c07c7e67..a1ba8eaf7f4b 100644 --- a/.github/workflows/build-and-preview-site.yml +++ b/.github/workflows/build-and-preview-site.yml @@ -10,9 +10,10 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout 🛎️ - uses: actions/checkout@v2.3.1 + uses: actions/checkout@master with: persist-credentials: false + fetch-depth: 1 - name: Install and Build 🔧 run: | @@ -23,7 +24,7 @@ jobs: run: bash ./script.sh - name: Upload files - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@master with: name: public-dir path: ./public-dir.zip