Testing.
This commit is contained in:
@@ -19,7 +19,7 @@ jobs:
|
|||||||
uses: dcarbone/install-yq-action@4075b4dca348d74bd83f2bf82d30f25d7c54539b # v1.3.1
|
uses: dcarbone/install-yq-action@4075b4dca348d74bd83f2bf82d30f25d7c54539b # v1.3.1
|
||||||
|
|
||||||
- name: Generate system info
|
- name: Generate system info
|
||||||
id: gen-sysinfo
|
id: sysinfo
|
||||||
uses: appleboy/ssh-action@v1.2.3
|
uses: appleboy/ssh-action@v1.2.3
|
||||||
with:
|
with:
|
||||||
host: 192.168.1.254
|
host: 192.168.1.254
|
||||||
@@ -29,14 +29,16 @@ jobs:
|
|||||||
script: neofetch
|
script: neofetch
|
||||||
|
|
||||||
- name: Verifying SSH Output
|
- name: Verifying SSH Output
|
||||||
run: echo "${{ steps.gen-sysinfo.outputs.stdout }}"
|
run: |
|
||||||
|
echo "${{ steps.sysinfo.outputs.stdout }}"
|
||||||
|
cat "${{ steps.sysinfo.outputs.stdout }}"
|
||||||
|
|
||||||
- name: Populating README with sysinfo.
|
- name: Populating README with sysinfo.
|
||||||
run: |
|
run: |
|
||||||
echo "# System Info" > README.md
|
echo "# System Info" > README.md
|
||||||
echo -e "\n\n" >> README.md
|
echo -e "\n\n" >> README.md
|
||||||
echo "```" >> README.md
|
echo "```" >> README.md
|
||||||
echo "${{ steps.gen-sysinfo.outputs.stdout }}" >> README.md
|
echo "${{ steps.sysinfo.outputs.stdout }}" >> README.md
|
||||||
echo "```" >> README.md
|
echo "```" >> README.md
|
||||||
echo -e "\n" >> README.md
|
echo -e "\n" >> README.md
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user