History

fix: prevent Deploy action running on forks

Oliver Eyton-Williams committed 5 years ago

Commit c2b38c11 parent d63d2ff1 file · +1 −1Browse files

Unified · Split

.github/workflows/build.yml+1−1
@@ -8,7 +8,7 @@ on: · 7 unmodified lines
88 jobs:
99 test:
1010 runs-on: ubuntu-20.04
11−
11+ if: github.repository == 'freeCodeCamp/devdocs'
1212 steps:
1313 - uses: actions/checkout@v2.3.4
1414 - name: Set up Ruby