#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:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches: [ main ]
|
||||||
- main
|
paths: [ 'homelab/vyos/config.boot' ]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
ssh:
|
ssh:
|
||||||
@ -16,4 +16,4 @@ jobs:
|
|||||||
username: vyos
|
username: vyos
|
||||||
key: ${{ secrets.RUNNER_SSH_PRIVATEKEY }}
|
key: ${{ secrets.RUNNER_SSH_PRIVATEKEY }}
|
||||||
script: |
|
script: |
|
||||||
echo "Hello, world!" >> ~/hello.txt
|
echo "$(date)" >> ~/hello.txt
|
||||||
|
Loading…
Reference in New Issue
Block a user