Skip to content

Update catalog on Gadi #4

Update catalog on Gadi

Update catalog on Gadi #4

Workflow file for this run

name: Update catalog on Gadi
on:
workflow_dispatch:
inputs:
release_version:
description: 'Release version'
required: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
### Latest at time of writing
uses: actions/[email protected]
- name: Sync repository to Gadi
### Latest at time of writing
uses: up9cloud/[email protected]
env:
HOST: gadi.nci.org.au
TARGET: ${{secrets.GADI_REPO_PATH}}
KEY: ${{secrets.DEPLOY_KEY}}
USER: ${{secrets.GADI_USER}}
- name: Update catalog
uses: appleboy/[email protected]
with:
host: gadi.nci.org.au
username: ${{secrets.GADI_USER}}
key: ${{secrets.DEPLOY_KEY}}
script: |
cd ${{secrets.GADI_REPO_PATH}}
export RELEASE=${{ github.event.inputs.release_version }}
cd bin
qsub -v version=${RELEASE} build_all.sh
cd ..
git add src/access_nri_intake/cat
git commit "Update catalog to $RELEASE"