Skip to content

Add image colloquium Huisken #17

Add image colloquium Huisken

Add image colloquium Huisken #17

Workflow file for this run

name: Restart Monitor
on:
push:
branches:
- main
jobs:
production:
runs-on: ubuntu-latest
steps:
- name: Setup SSH
run: |
mkdir -p ~/.ssh/
echo "${{ secrets.SSH_PRIV_KEY }}" > ~/.ssh/id_rsa
echo "${{ secrets.SSH_PUB_KEY }}" > ~/.ssh/id_rsa.pub
chmod 600 ~/.ssh/id_rsa
chmod 600 ~/.ssh/id_rsa.pub
ssh-keyscan -H ${{ secrets.HOSTNAME }} >> ~/.ssh/known_hosts
- name: restart server
run: |
ssh radxa@${{ secrets.HOSTNAME }} ./start-schermo.sh