Sfoglia il codice sorgente

:octocat: don't run doc build on PR

smiley 3 anni fa
parent
commit
8d24db5b9f
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  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: