Przeglądaj źródła

:octocat: don't run doc build on PR

smiley 3 lat temu
rodzic
commit
8d24db5b9f
1 zmienionych plików z 2 dodań i 0 usunięć
  1. 2 0
      .github/workflows/tests.yml

+ 2 - 0
.github/workflows/tests.yml

@@ -52,6 +52,8 @@ jobs:
   build-docs:
     name: "Build and publish Docs"
 
+    if: github.ref_name === 'main'
+
     runs-on: ubuntu-latest
 
     steps: