#16 Constrain workflow trigger to changes to homelab/vyos/config.boot
Some checks failed
SSH and echo to file / ssh (push) Failing after 3s

This commit is contained in:
Joey Hafner 2024-10-24 15:35:10 -07:00
parent f0221b363f
commit 9f4aa64f8b
No known key found for this signature in database

View File

@ -2,8 +2,8 @@ name: SSH and echo to file
on:
push:
branches:
- main
branches: [ main ]
paths: [ 'homelab/vyos/config.boot' ]
jobs:
ssh:
@ -16,4 +16,4 @@ jobs:
username: vyos
key: ${{ secrets.RUNNER_SSH_PRIVATEKEY }}
script: |
echo "Hello, world!" >> ~/hello.txt
echo "$(date)" >> ~/hello.txt