Merge pull request #1202 from SPAAM-community/Liu2024_addmissingERS #893
This file contains 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 Live Status Updates | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
live-status-image-update: | |
runs-on: ubuntu-latest | |
if: "!contains(github.event.head_commit.message, '[skip ci]')" | |
defaults: | |
run: | |
shell: bash -l {0} | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
token: ${{ secrets.GH_ACTIONS_COMMIT_ACTION }} | |
- uses: conda-incubator/setup-miniconda@v2 | |
with: | |
activate-environment: ancientmetagenomedir-live-status-update | |
environment-file: assets/analysis/analysis_environment.yml | |
auto-activate-base: true | |
channels: conda-forge,defaults | |
- name: Generate map plots | |
run: | | |
Rscript assets/analysis/plot_timelines.R ${GITHUB_WORKSPACE}/ | |
Rscript assets/analysis/plot_maps.R ${GITHUB_WORKSPACE}/ | |
Rscript assets/analysis/plot_ages.R ${GITHUB_WORKSPACE}/ | |
Rscript assets/analysis/plot_timelines_libraries.R ${GITHUB_WORKSPACE}/ | |
- uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
commit_message: "[skip ci] Update AncientMetagenomeDir live-status images" | |
push_options: --force |