AncientMetagenomeDir GeoJSON updates #461
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: AncientMetagenomeDir GeoJSON updates | |
| on: | |
| workflow_dispatch: | |
| jobs: | |
| live-status-geosjon-update: | |
| runs-on: ubuntu-latest | |
| if: "!contains(github.event.head_commit.message, '[skip ci]')" | |
| defaults: | |
| run: | |
| shell: bash -l {0} | |
| steps: | |
| - uses: actions/checkout@v7 | |
| with: | |
| token: ${{ secrets.GH_ACTIONS_COMMIT_ACTION }} | |
| persist-credentials: true | |
| - uses: conda-incubator/setup-miniconda@v3 | |
| with: | |
| miniforge-variant: Miniforge3 | |
| activate-environment: geojson | |
| environment-file: assets/analysis/geojson_environment.yml | |
| auto-activate-base: true | |
| channels: conda-forge | |
| use-mamba: true | |
| - name: Generate map geojson | |
| run: | | |
| python assets/analysis/create_geojson.py \ | |
| --environmental ancientmetagenome-environmental/samples/ancientmetagenome-environmental_samples.tsv \ | |
| --meta_host ancientmetagenome-hostassociated/samples/ancientmetagenome-hostassociated_samples.tsv \ | |
| --single_host ancientsinglegenome-hostassociated/samples/ancientsinglegenome-hostassociated_samples.tsv \ | |
| --geojson assets/images/figures/ancientmetagenomedir.geojson | |
| - uses: stefanzweifel/git-auto-commit-action@v7 | |
| with: | |
| commit_message: "[skip ci] Update AncientMetagenomeDir geojson" | |
| push_options: --force |