feat: 🚀 deploy preview

Signed-off-by: Eric Nemchik <eric@nemchik.com>
pull/1410/head
Eric Nemchik 2 months ago
parent 244a787106
commit ea6f3885c9
No known key found for this signature in database

@ -42,6 +42,11 @@ jobs:
run: pip install -r docs/requirements.txt
- name: Build documentation
run: mkdocs build
- name: Deploy preview
if: github.event_name == 'pull_request'
uses: rossjrw/pr-preview-action@v1
with:
source-dir: ./site/
deploy:
if: github.event_name == 'push' && contains(fromJson('["refs/heads/master", "refs/heads/main"]'), github.ref)

Loading…
Cancel
Save