From 8622f92b387f1cabdf6e46a11c94b959f7685d81 Mon Sep 17 00:00:00 2001 From: Robby Milo Date: Thu, 7 Nov 2024 12:06:04 +0100 Subject: [PATCH] add action --- .github/workflows/deploy-preview.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/deploy-preview.yml diff --git a/.github/workflows/deploy-preview.yml b/.github/workflows/deploy-preview.yml new file mode 100644 index 000000000..43c5ed5e0 --- /dev/null +++ b/.github/workflows/deploy-preview.yml @@ -0,0 +1,17 @@ +name: Deploy pr preview + +on: + pull_request: + types: + - opened + - synchronize + - closed + +jobs: + deploy-pr-preview: + uses: grafana/website/.github/workflows/deploy-preview.yml@robbymilo/gh-deploy-previews + with: + sha: ${{ github.event.pull_request.head.sha }} + branch: ${{ github.ref_name }} + event_number: ${{ github.event.number }} + repo: website