Skip to content

Commit

Permalink
added table workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
larsbuntemeyer committed Aug 8, 2024
1 parent 1c6068f commit dd22d96
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/cmor-tables.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: cmor tables

# Controls when the action will run. Workflow runs when manually triggered using the UI
# or API.
on:
workflow_dispatch:

schedule:
- cron: "0 0 * * *"

push:
branches:
- "*"


# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
update-cmor-tables:
# The type of runner that the job will run on
runs-on: ubuntu-latest

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- name: checkout
uses: actions/checkout@v4

- uses: actions/setup-python@v5
with:
python-version: '3.10'

- name: Install data_request_tools
run: |
python -m pip install --upgrade pip
pip install git+https://github.com/WCRP-CORDEX/[email protected]
- name: Create tables
run: |
create-cmor-tables data-request-fpsurbrcc.csv --coords --output cmor-tables

0 comments on commit dd22d96

Please sign in to comment.