Skip to content

Update catalog on Gadi #9

Update catalog on Gadi

Update catalog on Gadi #9

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/checkout@v4.1.7
#- name: Sync repository to Gadi
# ### Latest at time of writing
# uses: up9cloud/action-rsync@v1.4
# env:
# HOST: gadi.nci.org.au
# TARGET: ${{secrets.GADI_REPO_PATH}}
# KEY: ${{secrets.DEPLOY_KEY}}
# USER: ${{secrets.GADI_USER}}
- name: Update catalog
uses: appleboy/ssh-action@v1.0.0
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