1
0
mirror of https://github.com/karl0ss/homepage.git synced 2025-06-22 18:29:13 +01:00

Only deploy docs from main branch

This commit is contained in:
shamoon 2025-03-27 13:27:20 -07:00
parent 77bbdc6a04
commit e19dcc2729
No known key found for this signature in database

@ -55,7 +55,7 @@ jobs:
run: MKINSIDERS=false mkdocs build run: MKINSIDERS=false mkdocs build
deploy: deploy:
name: 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 runs-on: ubuntu-latest
needs: needs:
- pre-commit - pre-commit