Compare commits
2 Commits
85d3343285
...
9f4aa64f8b
Author | SHA1 | Date | |
---|---|---|---|
|
9f4aa64f8b | ||
|
f0221b363f |
@ -2,8 +2,8 @@ name: SSH and echo to file
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
branches: [ main ]
|
||||
paths: [ 'homelab/vyos/config.boot' ]
|
||||
|
||||
jobs:
|
||||
ssh:
|
||||
@ -12,8 +12,8 @@ jobs:
|
||||
- name: SSH into host
|
||||
uses: appleboy/ssh-action@v1.0.3
|
||||
with:
|
||||
host: ${{ secrets.HOST_DOMAIN }}
|
||||
username: ${{ secrets.HOST_USERNAME }}
|
||||
host: 192.168.1.1
|
||||
username: vyos
|
||||
key: ${{ secrets.RUNNER_SSH_PRIVATEKEY }}
|
||||
script: |
|
||||
echo "Hello, world!" >> ~/hello.txt
|
||||
echo "$(date)" >> ~/hello.txt
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user