#16 Small fixes
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 12s
SSH and echo to file / ssh (push) Failing after 10s

- 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:
Joey Hafner 2024-10-25 11:59:25 -07:00
parent aa7f5849ff
commit 6ca2d8ed46
No known key found for this signature in database
3 changed files with 13 additions and 11 deletions

View File

@ -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 }}."

View File

@ -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