#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: 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