Update mkdocs.yml #521
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: ONE Record Github Pages deployer (development version) | |
| on: | |
| push: | |
| branches: | |
| - master | |
| permissions: | |
| contents: write | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| with: | |
| fetch-depth: 0 | |
| - uses: actions/setup-python@v4 | |
| with: | |
| python-version: 3.10.6 | |
| - name: Install Dependencies | |
| run: | | |
| pip install mkdocs-material | |
| pip install mike | |
| - name: Setup Docs Deploy | |
| run: | | |
| git config --global user.name "IATA-Cargo" | |
| git config --global user.email "iata-cargo@example.com" | |
| - name: Build Docs Website | |
| run: | | |
| make copy-assets | |
| mike deploy --push development | |
| mike set-default --push stable | |
| working-directory: ./Documentation_website | |