Only deploy docs from main branch

pull/5080/head
shamoon 3 weeks ago
parent 77bbdc6a04
commit e19dcc2729
No known key found for this signature in database

@ -55,7 +55,7 @@ jobs:
run: MKINSIDERS=false mkdocs build
deploy:
name: Build & Deploy
if: github.repository == 'gethomepage/homepage' && github.event_name != 'pull_request'
if: github.repository == 'gethomepage/homepage' && github.event_name != 'pull_request' && github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
needs:
- pre-commit

Loading…
Cancel
Save