Skip to content

Commit 6e3106f

Browse files
Merge pull request #366 from espressif/ci/docs_deploy_espressif
ci(docs): Deploy docs only from espressif repository
2 parents b2fff06 + db9093c commit 6e3106f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/docs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ jobs:
5454
deploy-docs:
5555
needs: build-docs
5656
runs-on: ubuntu-latest
57+
if: ${{ github.repository_owner == 'espressif' }}
5758
# Set Deploy environment for master branch, otherwise set Preview environment
5859
environment: ${{ github.ref_name == 'master' && 'esp-docs deploy' || 'esp-docs preview' }}
5960
steps:

0 commit comments

Comments
 (0)