Skip to content

Commit ea07414

Browse files
authored
Correction
1 parent 03e8f1c commit ea07414

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

.github/workflows/main.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -314,9 +314,8 @@ jobs:
314314
ctest --preset default --verbose
315315
316316
deploy-docs:
317-
if: github.repository == 'asfernandes/fb-cpp'
317+
if: github.repository == 'asfernandes/fb-cpp' && github.ref == 'refs/heads/main'
318318
runs-on: ubuntu-latest
319-
if: github.ref == 'refs/heads/main' && github.repository == 'asfernandes/fb-cpp'
320319
needs:
321320
- clang-format-check
322321
- build-linux

0 commit comments

Comments
 (0)