Skip to content

Commit ee5ca3a

Browse files
authored
Add example gallery (#55)
* Add example gallery * Fix up dev docs deploy
1 parent 0a3e354 commit ee5ca3a

21 files changed

Lines changed: 191 additions & 15 deletions

.github/workflows/docs.yml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,22 @@ jobs:
7070
runs-on: ubuntu-latest
7171
needs: build
7272
steps:
73-
- name: Deploy to GitHub Pages
73+
- name: Deploy dev
74+
uses: peaceiris/actions-gh-pages@v4
75+
# Dev site built on PRs
76+
if: |
77+
(github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository) ||
78+
(github.event_name == 'workflow_dispatch' && github.event.inputs.target == 'dev') ||
79+
(github.event_name == 'push' && (contains(steps.vars.outputs.tag, 'a') || contains(steps.vars.outputs.tag, 'b') || contains(steps.vars.outputs.tag, 'rc')))
80+
with:
81+
personal_token: ${{ secrets.HOLOVIZ_ACCESS_TOKEN }}
82+
external_repository: holoviz-dev/panel-reactflow
83+
publish_dir: ./builtdocs
84+
force_orphan: true
85+
- name: Deploy main
86+
if: |
87+
(github.event_name != 'pull_request') &&
88+
((github.event_name == 'workflow_dispatch' && github.event.inputs.target == 'main') ||
89+
(github.event_name == 'push' && !(contains(steps.vars.outputs.tag, 'a') || contains(steps.vars.outputs.tag, 'b') || contains(steps.vars.outputs.tag, 'rc'))))
7490
id: deployment
7591
uses: actions/deploy-pages@v4
183 KB
Loading
127 KB
Loading
75.1 KB
Loading
102 KB
Loading
107 KB
Loading
58.3 KB
Loading
262 KB
Loading
262 KB
Loading

docs/examples.md

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)