Fixed website download names and added About in nav (#343) #145
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Deploy website | |
| on: | |
| push: | |
| branches: | |
| - master | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.12" | |
| - name: Install Dependencies | |
| run: pip install -r website/docs/requirements.txt | |
| - name: Sphinx Build | |
| run: cd website/docs && sphinx-build -b html ./source ./build | |
| - name: rsync homepage files | |
| uses: burnett01/rsync-deployments@master | |
| with: | |
| switches: -vzr | |
| path: website/docs/build/ | |
| remote_path: ${{ secrets.DEPLOY_WEBSITE_PATH }} | |
| remote_host: ${{ secrets.DEPLOY_HOST }} | |
| remote_user: ${{ secrets.DEPLOY_USER }} | |
| remote_key: ${{ secrets.DEPLOY_KEY }} |