From e13f3dcad4bd44f670a1061620be33b05f97aeb6 Mon Sep 17 00:00:00 2001 From: Aidan Reilly <74046732+aireilly@users.noreply.github.com> Date: Fri, 21 Mar 2025 15:44:57 +0000 Subject: [PATCH] preview --- .github/workflows/preview.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/preview.yml diff --git a/.github/workflows/preview.yml b/.github/workflows/preview.yml new file mode 100644 index 000000000000..c1f37b3847ca --- /dev/null +++ b/.github/workflows/preview.yml @@ -0,0 +1,21 @@ +name: Preview build +on: + - pull_request +jobs: + preview-build: + name: Preview build + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v4 + with: + ref: ${{ github.event.pull_request.head.sha }} + fetch-depth: 0 # enable git diff and building many branches + + - name: Build the docs + run: | + chmod +x scripts/prow-smoke-test.sh + # validate + scripts/prow-smoke-test.sh -v + # deploy + scripts/prow-smoke-test.sh -p