CI: only run GitHub pages on the official repository 5512/head
authorGiovanni Giacobbi <giovanni@giacobbi.net>
Sat, 13 Nov 2021 22:36:55 +0000 (22:36 +0000)
committerGiovanni Giacobbi <giovanni@giacobbi.net>
Tue, 16 Nov 2021 09:37:12 +0000 (09:37 +0000)
Signed-off-by: Giovanni Giacobbi <giovanni@giacobbi.net>
.github/workflows/jsdoc.yml

index 1160a2442122de422c251c430a2206502dc7812f..b67956ad1885525cfcdcc044da3079fb0f32d7da 100644 (file)
@@ -7,6 +7,7 @@ on:
 
 jobs:
   deploy:
+    if: github.repository == 'openwrt/luci'
     runs-on: ubuntu-latest
     steps:
       - name: Checkout code