#16 Small fixes
- Hacking.yaml: Switch to simpler git command to show changes in most recent commit - Vyos-deploy.yaml: Attempt to use the vyos.sh script to run an op-mode command - Config: Ignore the documentation's suggestion that pubkeys should be base64 encoded
This commit is contained in:
parent
aa7f5849ff
commit
6ca2d8ed46
@ -15,7 +15,7 @@ jobs:
|
|||||||
- name: List files in the repository
|
- name: List files in the repository
|
||||||
run: |
|
run: |
|
||||||
ls ${{ gitea.workspace }}
|
ls ${{ gitea.workspace }}
|
||||||
- name: List files changed in the most recent commit
|
- name: Show changes in the most recent commit
|
||||||
run: |
|
run: |
|
||||||
git diff --name-only HEAD HEAD~1 --
|
git show HEAD^1
|
||||||
- run: echo "🍏 This job's status is ${{ gitea.status }}."
|
- run: echo "🍏 This job's status is ${{ gitea.status }}."
|
@ -27,7 +27,9 @@ jobs:
|
|||||||
ssh-keyscan -t ed25519 192.168.1.1 >> ~/.ssh/known_hosts
|
ssh-keyscan -t ed25519 192.168.1.1 >> ~/.ssh/known_hosts
|
||||||
- name: Connect to VyOS
|
- name: Connect to VyOS
|
||||||
run: |
|
run: |
|
||||||
ssh -vv -i /tmp/key -p 22 vyos@192.168.1.1 'whoami'
|
ssh -i /tmp/key -p 22 vyos@192.168.1.1 'whoami'
|
||||||
|
alias ssh='ssh -i /tmp/key -p 22'
|
||||||
|
./vyos.sh op show system image
|
||||||
|
|
||||||
# - name: SSH into host
|
# - name: SSH into host
|
||||||
# uses: appleboy/ssh-action@v1.1.0
|
# uses: appleboy/ssh-action@v1.1.0
|
||||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user