There was an error while loading. Please reload this page.
1 parent 10b2276 commit bf2651eCopy full SHA for bf2651e
1 file changed
.github/workflows/docs.yml
@@ -76,10 +76,12 @@ jobs:
76
name: docs-${{ github.sha }}
77
path: 'doc'
78
79
- gh_pages:
80
- # Only deploy on a push to main or on workflow dispatch
81
- if: (github.ref_name == 'main' && github.event_name == 'push') || github.event_name == 'workflow_dispatch'
82
- name: Deploy to GitHub Pages
+ deploy_fork:
+ name: Deploy to GitHub Pages on fork
+ if: >-
+ (github.event_name == 'push' ||
83
+ github.event_name == 'workflow_dispatch') &&
84
+ github.repository != 'apache/arrow-erlang'
85
needs: build
86
87
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
0 commit comments