Skip to content

🐍 Geometric Computer Vision Library for Spatial AI

deploy docs to gh-pages (#1787)

Edgar Riba848dfe956716
diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml
index 367c38cde..9fa64d84b 100644
--- a/.github/workflows/docs.yml
+++ b/.github/workflows/docs.yml
@@ -1,12 +1,13 @@
name: test-docs
on:
+ workflow_dispatch:
push:
branches:
- master
pull_request:
- schedule:
- - cron: "0 4 * * *"
+ branches:
+ - master
jobs:
build-docs:
@@ -26,3 +27,11 @@ jobs:
- name: Build Documentation
shell: bash -l {0}
run: make build-docs
+ - name: Deploy to GitHub Pages
+ if: ${{ github.event_name != 'pull_request' }}
+ uses: JamesIves/[email protected]
+ with:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ BRANCH: gh_pages # The branch the action should deploy to.
+ FOLDER: docs/build/html # The folder the action should deploy.
+ CLEAN: true # Automatically remove deleted files from the deploy branch