ci: deploy docs only on push to master
This commit is contained in:
1
.github/workflows/docs.yaml
vendored
1
.github/workflows/docs.yaml
vendored
@@ -35,6 +35,7 @@ jobs:
|
||||
name: Deploy the documentation on GitHub Pages
|
||||
runs-on: ubuntu-latest
|
||||
needs: build
|
||||
if: github.ref == 'refs/heads/main'
|
||||
|
||||
permissions:
|
||||
pages: write
|
||||
|
||||
Reference in New Issue
Block a user