From 1bbc7c77090368573a122bb1cb3f7b9a7da8934b Mon Sep 17 00:00:00 2001 From: Rohan Padhye Date: Sat, 2 Nov 2024 16:39:18 -0400 Subject: [PATCH] Update build workflow Do not deploy for forks. --- .../{f24_nodebb-f24-translator.yml => sample-build.yml} | 1 + 1 file changed, 1 insertion(+) rename .github/workflows/{f24_nodebb-f24-translator.yml => sample-build.yml} (93%) diff --git a/.github/workflows/f24_nodebb-f24-translator.yml b/.github/workflows/sample-build.yml similarity index 93% rename from .github/workflows/f24_nodebb-f24-translator.yml rename to .github/workflows/sample-build.yml index 09226eb..2433784 100644 --- a/.github/workflows/f24_nodebb-f24-translator.yml +++ b/.github/workflows/sample-build.yml @@ -43,6 +43,7 @@ jobs: !venv/ deploy: + if: github.repository == 'CMU-313/translator-service' runs-on: ubuntu-latest needs: build environment: