Skip to content

Monitoring Norwegian submissions to SRA samples #24

Monitoring Norwegian submissions to SRA samples

Monitoring Norwegian submissions to SRA samples #24

Workflow file for this run

name: Monitoring Norwegian submissions to SRA samples
on:
schedule:
- cron: "0 0 * * *"
workflow_dispatch:
jobs:
default-shell:
name: Default shell
runs-on: "ubuntu-latest"
defaults:
run:
shell: bash -el {0}
steps:
- uses: actions/checkout@v4
- uses: conda-incubator/setup-miniconda@v3
with:
activate-environment: EBIsearch
environment-file: EBIsearch_environment.yml
- run: python monitoring_sra-samples_EBIsearch.py
- name: Save Plot Artifacts
uses: actions/upload-artifact@v3
with:
name: plot-files
path: ./plots/
- uses: actions/checkout@master
with:
persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal token
fetch-depth: 0 # otherwise, you will fail to push refs to dest repo
- name: check new files are created
run: ls -ltr ./plots/
- name: Create local changes
run: git add stacked_bar_plot.png
- name: Commit & Push changes
uses: actions-js/push@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}