Update earthquake dataset to include data until 2026 #1437
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: publish_docs | |
| on: | |
| workflow_dispatch: | |
| workflow_run: | |
| workflows: ["daily_stats"] | |
| types: | |
| - completed | |
| push: | |
| branches: | |
| - master | |
| jobs: | |
| deploy: | |
| #if: github.actor == 'samapriya' | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v3 | |
| with: | |
| fetch-depth: 0 | |
| - uses: actions/setup-python@v4 | |
| with: | |
| python-version: "3.10" | |
| - name: Install uv | |
| run: | | |
| curl -LsSf https://astral.sh/uv/install.sh | sh | |
| echo "$HOME/.cargo/bin" >> $GITHUB_PATH | |
| - name: Install dependencies with uv | |
| run: | | |
| uv pip install --system \ | |
| wheel \ | |
| lxml \ | |
| "mkdocs-material==9.7.0" \ | |
| "mkdocs-material-extensions" \ | |
| "mkdocs-get-deps" \ | |
| "cairosvg>=2.5" \ | |
| "mkdocs-git-committers-plugin-2>=1.1.1" \ | |
| "mkdocs-git-revision-date-localized-plugin>=1.0" \ | |
| "mkdocs-git-authors-plugin" \ | |
| "mkdocs-minify-plugin>=0.3" \ | |
| "mkdocs-rss-plugin>=1.2" \ | |
| "mkdocs-redirects>=1.0" \ | |
| "mkdocs-open-in-new-tab" \ | |
| "pillow<10" \ | |
| "markdown==3.7" | |
| - name: Deploy documentation | |
| env: | |
| GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| run: | | |
| mkdocs gh-deploy --force | |
| mkdocs --version |