From ee67f3c507f33930033c222166baccdbe324268a Mon Sep 17 00:00:00 2001 From: Fabrizio Romano Genovese Date: Sun, 5 Nov 2023 16:46:25 +0100 Subject: [PATCH] Preview workflow added. --- .github/workflows/preview.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 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 0000000..8b8cf70 --- /dev/null +++ b/.github/workflows/preview.yml @@ -0,0 +1,23 @@ +# .github/workflows/preview.yml +name: Deploy PR previews + +on: + pull_request: + types: + - opened + - reopened + - synchronize + +concurrency: preview-${{ github.ref }} + +jobs: + deploy-preview: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Deploy PR Preview + uses: rossjrw/pr-preview-action@v1.4.3 + with: + source-dir: . + umbrella-dir: pr-preview + action: auto \ No newline at end of file