File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change 11# Generate the complete documentation then upload to the website under the master section
2- name : " Doc generation on master "
2+ name : " Doc generation"
33
44on :
55 pull_request : ~
3535 working-directory : " website"
3636
3737 - name : " Deploy website"
38+ if : " ${{ github.event_name == 'push' || github.event_name == 'release' }}"
3839 uses : JamesIves/github-pages-deploy-action@4.1.5
3940 with :
40- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
41- BRANCH : gh-pages # The branch the action should deploy to.
42- FOLDER : website/build # The folder the action should deploy.
43- CLEAN : true # Automatically remove deleted files from the deploy branch
41+ token : ${{ secrets.GITHUB_TOKEN }}
42+ branch : gh-pages # The branch the action should deploy to.
43+ folder : website/build # The folder the action should deploy.
44+ clean : true # Automatically remove deleted files from the deploy branch
You can’t perform that action at this time.
0 commit comments