Testing.
This commit is contained in:
@@ -28,6 +28,10 @@ jobs:
|
|||||||
key: ${{ secrets.RUNNER_SSH_PRIVATE_KEY }}
|
key: ${{ secrets.RUNNER_SSH_PRIVATE_KEY }}
|
||||||
script: neofetch
|
script: neofetch
|
||||||
|
|
||||||
|
- name: Verifying SSH ouput
|
||||||
|
run: |
|
||||||
|
echo "${{ steps.gen-sysinfo.outputs.stdout }}"
|
||||||
|
|
||||||
- name: Generate service list
|
- name: Generate service list
|
||||||
run: |
|
run: |
|
||||||
yq 'explode(.) | .services | to_entries | map({"service": .key, "image": .value.image, "description": (.value.labels."homepage.description" // "")})' docker-compose.yml > services.yml
|
yq 'explode(.) | .services | to_entries | map({"service": .key, "image": .value.image, "description": (.value.labels."homepage.description" // "")})' docker-compose.yml > services.yml
|
||||||
@@ -44,7 +48,7 @@ jobs:
|
|||||||
# Insert full system info as a code block, preserving formatting
|
# Insert full system info as a code block, preserving formatting
|
||||||
echo "# System Info"
|
echo "# System Info"
|
||||||
echo '```'
|
echo '```'
|
||||||
cat <<'EOF'
|
echo <<'EOF'
|
||||||
${{ steps.gen-sysinfo.outputs.stdout }}
|
${{ steps.gen-sysinfo.outputs.stdout }}
|
||||||
EOF
|
EOF
|
||||||
echo '```'
|
echo '```'
|
||||||
@@ -57,7 +61,6 @@ jobs:
|
|||||||
printf "%s\n" "${{ steps.service-table.outputs.table }}"
|
printf "%s\n" "${{ steps.service-table.outputs.table }}"
|
||||||
} > README.md
|
} > README.md
|
||||||
|
|
||||||
|
|
||||||
- name: Add/Commit README.md
|
- name: Add/Commit README.md
|
||||||
id: commit-readme
|
id: commit-readme
|
||||||
uses: EndBug/add-and-commit@a94899bca583c204427a224a7af87c02f9b325d5 # v9.1.4
|
uses: EndBug/add-and-commit@a94899bca583c204427a224a7af87c02f9b325d5 # v9.1.4
|
||||||
|
|||||||
Reference in New Issue
Block a user