This commit is contained in:
2025-11-10 07:40:15 -05:00
parent 12cef57f36
commit 5742568b19
+8 -18
View File
@@ -30,7 +30,10 @@ jobs:
- name: Verifying SSH ouput
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
run: |
@@ -42,24 +45,11 @@ jobs:
with:
file: ./services.yml
- name: Regenerate README
- name: Regenerate README table
run: |
{
# Insert full system info as a code block, preserving formatting
echo "# System Info"
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
echo "# List of Services" >> README.md
echo -e "\n\n" >> README.md
echo "${{ steps.service-table.outputs.table }}" >> README.md
- name: Add/Commit README.md
id: commit-readme