Deploy generated documentation only if browsermt (#179)

This commit is contained in:
Jerin Philip 2021-06-01 11:00:53 +01:00 committed by GitHub
parent 5d3ec9c0a9
commit ceaf21a532
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -67,7 +67,7 @@ jobs:
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@4.1.3
if: ${{ github.event_name == 'push' }}
if: ${{ github.event_name == 'push' && github.repository == 'browsermt/bergamot-translator' }}
with:
repository-name: 'browsermt/docs'
branch: gh-pages # The branch the action should deploy to.