Testing.
This commit is contained in:
@@ -30,7 +30,10 @@ jobs:
|
|||||||
|
|
||||||
- name: Verifying SSH ouput
|
- name: Verifying SSH ouput
|
||||||
run: |
|
run: |
|
||||||
echo "${{ steps.gen-sysinfo.outputs.stdout }}"
|
echo "# System Info" > README.md
|
||||||
|
echo -e "\n\n" >> README.md
|
||||||
|
echo "${{ steps.gen-sysinfo.outputs.stdout }}" >> README.md
|
||||||
|
echo -e "\n"
|
||||||
|
|
||||||
- name: Generate service list
|
- name: Generate service list
|
||||||
run: |
|
run: |
|
||||||
@@ -42,24 +45,11 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
file: ./services.yml
|
file: ./services.yml
|
||||||
|
|
||||||
- name: Regenerate README
|
- name: Regenerate README table
|
||||||
run: |
|
run: |
|
||||||
{
|
echo "# List of Services" >> README.md
|
||||||
# Insert full system info as a code block, preserving formatting
|
echo -e "\n\n" >> README.md
|
||||||
echo "# System Info"
|
echo "${{ steps.service-table.outputs.table }}" >> README.md
|
||||||
echo '```'
|
|
||||||
echo <<'EOF'
|
|
||||||
${{ steps.gen-sysinfo.outputs.stdout }}
|
|
||||||
EOF
|
|
||||||
echo '```'
|
|
||||||
echo
|
|
||||||
echo
|
|
||||||
echo "# List of Services"
|
|
||||||
echo
|
|
||||||
echo
|
|
||||||
# Append the generated service table
|
|
||||||
printf "%s\n" "${{ steps.service-table.outputs.table }}"
|
|
||||||
} > README.md
|
|
||||||
|
|
||||||
- name: Add/Commit README.md
|
- name: Add/Commit README.md
|
||||||
id: commit-readme
|
id: commit-readme
|
||||||
|
|||||||
Reference in New Issue
Block a user