added deploy step
@@ -69,3 +69,12 @@ jobs:
with:
name: HTML-Docs
path: ./docs/_build/
+
+ - name: Deploy to Github Pages if on Master
+ if: {{ github.ref == 'ref/head/master' }}
+ uses: peaceiris/actions-gh-pages@v3
+ with:
+ deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
+ external_repository: braindecode/braindecode.github.io
+ publish_branch: master
+ publish_dir: ./docs/_build/html
