Skip to content

Commit

Permalink
docs: make sure that only the main branch of the main repo will deplo…
Browse files Browse the repository at this point in the history
…y pages (#666)
  • Loading branch information
geniuspatrick authored Jun 2, 2023
1 parent 47e4d36 commit 6901173
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ jobs:
- name: Build site
run: mkdocs build
- name: Deploy to gh-pages
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
if: github.event_name == 'push' && github.ref == 'refs/heads/main' && github.repository == 'mindspore-lab/mindcv'
run: mkdocs gh-deploy --force

0 comments on commit 6901173

Please sign in to comment.