Monitoring Norwegian submissions to SRA samples #26
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: 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 | |
ls -ltr ./plots/ | |
#- 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: Commit & Push changes | |
# uses: actions-js/push@master | |
# with: | |
# github_token: ${{ secrets.GITHUB_TOKEN }} | |