Skip to content

Commit

Permalink
ci: only set up mobile docs deploy key for main repo (#24476)
Browse files Browse the repository at this point in the history
Skip this step for forks, since secrets aren't available to PRs from
forks.

Signed-off-by: JP Simard <jp@jpsim.com>
  • Loading branch information
jpsim committed Dec 9, 2022
1 parent 1eb014a commit 086bc86
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
- name: Generate docs
run: mobile/docs/build.sh
- name: Set up deploy key
if: github.event.pull_request.head.repo.full_name == github.repository
uses: shimataro/ssh-key-action@193316a178ec055fcc7b018f7f76bbf64085c628
with:
key: ${{ secrets.ENVOY_MOBILE_WEBSITE_DEPLOY_KEY }}
Expand Down

0 comments on commit 086bc86

Please sign in to comment.