diff --git a/.github/workflows/preview.yml b/.github/workflows/preview.yml index 2db9b67..29c6f51 100644 --- a/.github/workflows/preview.yml +++ b/.github/workflows/preview.yml @@ -4,11 +4,8 @@ name: Deploy-preview # Controls when the action will run. Triggers the workflow on push or pull request # events but only for the main branch -on: - push: - branches: - - '*' - - '!main' +on: pull_request + # A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: # This workflow contains a single job called "build"