feat(era5_aggregate): dataset file name as pipeline parameter #7
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: Push era5-aggregate pipeline to CIV NMDR workspace | |
on: | |
push: | |
paths: | |
- ".github/workflows/push-era5-aggregate-civ.yaml" | |
- "era5_aggregate/**" | |
workflow_dispatch: | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: "3.11" | |
- name: Configure OpenHEXA CLI | |
uses: blsq/openhexa-cli-action@v1 | |
with: | |
workspace: "civ-data-integration-3cfb03" | |
token: ${{ secrets.OH_TOKEN_CIV }} | |
- name: Push pipeline to OpenHEXA | |
run: | | |
openhexa pipelines push era5_aggregate \ | |
-n ${{ github.sha }} \ | |
-l "https://github.com/BLSQ/openhexa-pipelines-era5/commit/${{ github.sha }}" \ | |
--yes |