README formatting correction.
This commit is contained in:
@@ -28,14 +28,6 @@ jobs:
|
||||
key: ${{ secrets.RUNNER_SSH_PRIVATE_KEY }}
|
||||
script: neofetch
|
||||
|
||||
- name: Write out system info
|
||||
run: |
|
||||
{
|
||||
echo '```'
|
||||
echo "${{ steps.gen-sysinfo.outputs.stdout }}"
|
||||
echo '```'
|
||||
} >> README.md
|
||||
|
||||
- name: Generate service list
|
||||
run: |
|
||||
yq 'explode(.) | .services | to_entries | map({"service": .key, "image": .value.image, "description": (.value.labels."homepage.description" // "")})' docker-compose.yml > services.yml
|
||||
@@ -48,7 +40,13 @@ jobs:
|
||||
|
||||
- name: Regenerate README
|
||||
run: |
|
||||
echo "# List of Services" > README.md
|
||||
# Insert system info as a code block
|
||||
echo '```' > README.md
|
||||
echo "${{ steps.gen-sysinfo.outputs.stdout }}" >> README.md
|
||||
echo '```' >> README.md
|
||||
echo -e "\n\n" >> README.md
|
||||
|
||||
echo "# List of Services" >> README.md
|
||||
echo -e "\n\n" >> README.md
|
||||
echo "${{ steps.service-table.outputs.table }}" >> README.md
|
||||
|
||||
|
||||
Reference in New Issue
Block a user