Skip to content

devops: Improve health check for studio #11

devops: Improve health check for studio

devops: Improve health check for studio #11

# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: "demo.statbus.org<-devops/deploy-to-demo"
on:
# Allow manual deployment in github
workflow_dispatch:
push:
branches:
- "devops/deploy-to-demo"
# Deploys are serial for a deploy branch.
concurrency:
group: ${{ github.ref_name }}
cancel-in-progress: false
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: executing remote ssh commands
uses: appleboy/[email protected]
with:
host: niue.statbus.org
username: statbus_demo
key: ${{ secrets.SSH_KEY }}
command_timeout: 60m
script: /usr/local/bin/deploy-statbus.sh