mirror of
https://gitee.com/dcren/openiddict-documentation.git
synced 2025-04-05 17:38:03 +08:00
Do not run deploy to GitHub Pages for pull requests
This commit is contained in:
parent
e5f470f8aa
commit
53860119e1
1
.github/workflows/build.yml
vendored
1
.github/workflows/build.yml
vendored
@ -22,6 +22,7 @@ jobs:
|
||||
args: docfx.json
|
||||
|
||||
- name: Deploy to GitHub Pages
|
||||
if: ${{ github.repository_owner == 'openiddict' && (github.ref == 'refs/heads/dev' || startsWith(github.ref, 'refs/heads/rel/') || startsWith(github.ref, 'refs/tags/')) }}
|
||||
uses: JamesIves/github-pages-deploy-action@releases/v3
|
||||
with:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
Loading…
Reference in New Issue
Block a user