kios-webapp/.github/workflows/astro.yml
2023-05-13 17:36:19 +02:00

23 lines
501 B
YAML

name: Trigger Astro build on server
on:
push:
branches:
- main
jobs:
build:
name: Run remote SSH command
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Execute remote SSH commands
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.REMOTE_HOST }}
username: ${{ secrets.REMOTE_USER }}
key: ${{ secrets.REMOTE_SSH_KEY }}
script: |
mkdir hallo