Browse Source

Update "on:" config

Philipp Heckel 3 years ago
parent
commit
61b2d92595
1 changed files with 6 additions and 2 deletions
  1. 6 2
      .github/workflows/docs.yaml

+ 6 - 2
.github/workflows/docs.yaml

@@ -1,7 +1,11 @@
 name: docs
-on: [push, pull_request]
+on:
+  push:
+    branches:
+      - main
+      - publish-docs
 jobs:
-  docs:
+  publish-docs:
     runs-on: ubuntu-latest
     steps:
       -