From f42b0a9081c829cbdcd2d827d51a9d8225929525 Mon Sep 17 00:00:00 2001 From: martyanov-av Date: Thu, 18 Apr 2024 16:46:07 +0300 Subject: [PATCH] preview --- .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..9f4d0a2 --- /dev/null +++ b/.github/workflows/preview.yml @@ -0,0 +1,23 @@ +# .github/workflows/deploy.yml +name: Deploy PR previews +on: + push: + branches: + - main + pull_request: + types: + - opened + - synchronize +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: + token: ${{ secrets.GITHUB_TOKEN }} + preview-branch: main + source-dir: . + umbrella-dir: pr-preview + action: auto \ No newline at end of file