diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 98d7f0d..3f7f514 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -2,8 +2,9 @@ name: Deploy MkDocs to GitHub Pages on: push: - branches: - - main + branches: [main] + pull_request: + branches: [main] permissions: contents: read @@ -43,6 +44,7 @@ jobs: path: site # MkDocs builds to ./site by default deploy: + if: github.event_name == 'push' needs: build runs-on: ubuntu-latest environment: diff --git a/docs/onboarding/onboarding.md b/docs/onboarding/onboarding.md deleted file mode 100644 index 14b4803..0000000 --- a/docs/onboarding/onboarding.md +++ /dev/null @@ -1 +0,0 @@ -# Onboarding \ No newline at end of file