Skip to content

Commit

Permalink
Enable main deploy from documentation (#122)
Browse files Browse the repository at this point in the history
  • Loading branch information
hoxbro authored Jul 3, 2024
1 parent 36f5602 commit f779575
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,13 +83,13 @@ jobs:
external_repository: holoviz-dev/holonote
publish_dir: ./builtdocs
force_orphan: true
# - name: Deploy main
# if: |
# (github.event_name == 'workflow_dispatch' && github.event.inputs.target == 'main') ||
# (github.event_name == 'push' && !(contains(steps.vars.outputs.tag, 'a') || contains(steps.vars.outputs.tag, 'b') || contains(steps.vars.outputs.tag, 'rc')))
# uses: peaceiris/actions-gh-pages@v4
# with:
# github_token: ${{ secrets.GITHUB_TOKEN }}
# publish_dir: ./builtdocs
# cname: holonote.holoviz.org
# force_orphan: true
- name: Deploy main
if: |
(github.event_name == 'workflow_dispatch' && github.event.inputs.target == 'main') ||
(github.event_name == 'push' && !(contains(steps.vars.outputs.tag, 'a') || contains(steps.vars.outputs.tag, 'b') || contains(steps.vars.outputs.tag, 'rc')))
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./builtdocs
cname: holonote.holoviz.org
force_orphan: true

0 comments on commit f779575

Please sign in to comment.