#16 Constrain workflow trigger to changes to homelab/vyos/config.boot
Some checks failed
SSH and echo to file / ssh (push) Failing after 3s
Some checks failed
SSH and echo to file / ssh (push) Failing after 3s
This commit is contained in:
parent
f0221b363f
commit
9f4aa64f8b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user