#16 Add quick hello world
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 12s

Does the runner's shell environment get reset between steps?
This commit is contained in:
Joey Hafner 2024-10-24 22:38:26 -07:00
parent 29d6f57968
commit 6358df4721
No known key found for this signature in database
2 changed files with 4 additions and 0 deletions

View File

@ -15,4 +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
run: |
git diff --name-only HEAD HEAD~1
- run: echo "🍏 This job's status is ${{ gitea.status }}." - run: echo "🍏 This job's status is ${{ gitea.status }}."

View File

@ -24,6 +24,7 @@ jobs:
ssh-keyscan 192.168.1.1 > ~/.ssh/known_hosts ssh-keyscan 192.168.1.1 > ~/.ssh/known_hosts
chmod 0600 ~/.ssh/known_hosts chmod 0600 ~/.ssh/known_hosts
alias ssh='ssh -i /tmp/key' alias ssh='ssh -i /tmp/key'
ssh vyos@192.168.1.1 'echo $(date)'
- name: Print running VyOS version - name: Print running VyOS version
run: | run: |
./vyos.sh op show system image ./vyos.sh op show system image