Download and build database on Cell* Dev server #3
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: Download and build database on Cell* Dev server | |
on: | |
workflow_dispatch: | |
inputs: | |
args: | |
description: 'Arguments to the remote script' | |
required: false | |
type: string | |
jobs: | |
build: | |
name: Download input files and build database | |
runs-on: ubuntu-latest | |
steps: | |
- name: executing remote ssh command in the background using SSH key | |
uses: appleboy/ssh-action@master | |
with: | |
host: ${{ secrets.DEV_HOST }} | |
username: ${{ secrets.DEV_USERNAME }} | |
key: ${{ secrets.DEV_DEPLOY_KEY }} | |
passphrase: ${{ secrets.DEV_PASSPHRASE }} | |
script: /sw/build.sh ${{ inputs.args }} & |