Update changelog for Snowflake (Sleet) and add new localization entri… #226
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: Update WebSSH Documentation | |
| on: | |
| push: | |
| branches: [ master ] | |
| jobs: | |
| deploy_mkdocs_content: | |
| timeout-minutes: 5 | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| with: | |
| # https://github.com/timvink/mkdocs-git-revision-date-localized-plugin/issues/10#issuecomment-585752881 | |
| # Number of commits to fetch. 0 indicates all history. | |
| # Default: 1 | |
| fetch-depth: 0 | |
| - uses: actions/setup-python@v2 | |
| with: | |
| python-version: '3.8' | |
| architecture: 'x64' | |
| - run: pip install mkdocs=="1.4.3" | |
| - run: pip install mkdocs-material=="9.0.4" | |
| - run: pip install mkdocs-git-revision-date-localized-plugin | |
| - run: pip install mkdocs-redirects | |
| - run: cd documentation/src; mkdocs build --clean | |
| - run: echo "webssh.net" > documentation/src/site/CNAME | |
| - name: Deploy | |
| uses: JamesIves/github-pages-deploy-action@releases/v3 | |
| with: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| BRANCH: gh-pages | |
| FOLDER: documentation/src/site |