Skip to content

Deploy frontend

Deploy frontend #21

name: Deploy frontend
on:
workflow_dispatch:
inputs:
args:
description: 'Arguments to the remote script'
required: false
type: string
jobs:
build:
name: Deploy frontend
runs-on: ubuntu-latest
steps:
- name: executing remote ssh command in the background using SSH key
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
key: ${{ secrets.DEPLOY_KEY }}
script: /sw/deploy_frontend.sh ${{ inputs.args }} &