change docs deploy to use ssh instead
@@ -437,10 +437,9 @@ jobs:
if: matrix.task == 'docs' && matrix.os == 'ubuntu' && github.event_name == 'push'
uses: JamesIves/github-pages-deploy-action@4.1.3
with:
- GITHUB_TOKEN: ${{ secrets.PYMEDPHYS_BOT_TOKEN }}
- BRANCH: docs # The branch the action should deploy to.
- FOLDER: lib/pymedphys/docs/_build/html # The folder the action should deploy.
- CLEAN: true # Automatically remove deleted files from the deploy branch
+ branch: docs
+ folder: lib/pymedphys/docs/_build/html
+ ssh-key: ${{ secrets.DEPLOY_KEY }}
## Stackoverflow
