diff --git a/.github/workflows/preview.yaml b/.github/workflows/preview.yaml new file mode 100644 index 0000000..793a14a --- /dev/null +++ b/.github/workflows/preview.yaml @@ -0,0 +1,16 @@ +name: Netlify Preview Deployment + +on: + pull_request: + branches: + - main + +jobs: + Preview: + runs-on: ubuntu-latest + environment: Preview + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: "Deployed preview site" + run: curl -X POST -d {} ${{ secrets.NETLIFY_PREVIEW_BUILD_HOOK }}