support single trees in cart diagram pipeline #2
This file contains hidden or 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 create-cart-diagram (northern nigeria) | |
| on: | |
| push: | |
| paths: | |
| - ".github/workflows/push-create-cart-diagram-nn.yml" | |
| - "create-cart-diagram/**" | |
| 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: "pathways-northern-niger-a9a035" | |
| token: ${{ secrets.OH_TOKEN_NN }} | |
| - name: Push pipeline to OpenHEXA | |
| run: | | |
| openhexa pipelines push create-cart-diagram \ | |
| -n ${{ github.sha }} \ | |
| -l "https://github.com/BLSQ/pathways-typing-pipelines/commit/${{ github.sha }}" \ | |
| --yes |