diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3eb57f1..91e3a6a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -3,8 +3,8 @@ name: Deploy static content to Pages on: # Runs on pushes targeting the default branch - push: - branches: ["main"] + pull_request: + branches: ['main'] # Allows you to run this workflow manually from the Actions tab workflow_dispatch: @@ -18,7 +18,7 @@ permissions: # Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued. # However, do NOT cancel in-progress runs as we want to allow these production deployments to complete. concurrency: - group: "pages" + group: 'pages' cancel-in-progress: false jobs: @@ -42,7 +42,7 @@ jobs: uses: actions/upload-pages-artifact@v3 with: # Upload entire repository - path: "./dist" + path: './dist' - name: Deploy to GitHub Pages id: deployment uses: actions/deploy-pages@v4