Update .gitea/workflows/ci.yml
All checks were successful
Update Community Skins README / Full CI/CD Pipeline (push) Successful in 7s
All checks were successful
Update Community Skins README / Full CI/CD Pipeline (push) Successful in 7s
This commit is contained in:
@@ -113,7 +113,8 @@ jobs:
|
|||||||
avatar_rows_file="${{ steps.find_skins.outputs.avatar_rows_file }}"
|
avatar_rows_file="${{ steps.find_skins.outputs.avatar_rows_file }}"
|
||||||
README_PATH="README.md" # Assuming README.md is in the root of the repository
|
README_PATH="README.md" # Assuming README.md is in the root of the repository
|
||||||
|
|
||||||
cat <<-EOF > "$README_PATH"
|
# Use `cat >` for the initial content, no indentation inside the heredoc
|
||||||
|
cat > "$README_PATH" <<-EOF
|
||||||
# osu! Swiss Community Skin collection
|
# osu! Swiss Community Skin collection
|
||||||
|
|
||||||
Welcome to the osu! Swiss Community Skin collection, this repository archives and showcases Skins osc members use.
|
Welcome to the osu! Swiss Community Skin collection, this repository archives and showcases Skins osc members use.
|
||||||
@@ -125,6 +126,7 @@ jobs:
|
|||||||
If you're interested in adding your skins here please follow this tutorial [how-to-use](/how-to-use.md)
|
If you're interested in adding your skins here please follow this tutorial [how-to-use](/how-to-use.md)
|
||||||
|
|
||||||
## Skins
|
## Skins
|
||||||
|
|
||||||
<details>
|
<details>
|
||||||
<summary>list instead of icons</summary>
|
<summary>list instead of icons</summary>
|
||||||
<br />
|
<br />
|
||||||
@@ -141,9 +143,9 @@ jobs:
|
|||||||
<tbody>
|
<tbody>
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
sort -t '|' -k1,1n "$user_rows_file" | cut -d'|' -f2- >> "$README_PATH"
|
sort -t '|' -k1,1n "$user_rows_file" | cut -d'|' -f2- | sed 's/^/ /' >> "$README_PATH"
|
||||||
|
|
||||||
cat <<-EOF >> "$README_PATH"
|
cat >> "$README_PATH" <<-EOF
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</details>
|
</details>
|
||||||
@@ -151,9 +153,9 @@ jobs:
|
|||||||
<p align="center">
|
<p align="center">
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
sort -t '|' -k1,1n "$avatar_rows_file" | cut -d'|' -f2- >> "$README_PATH"
|
sort -t '|' -k1,1n "$avatar_rows_file" | cut -d'|' -f2- | sed 's/^/ /' >> "$README_PATH"
|
||||||
|
|
||||||
cat <<-EOF >> "$README_PATH"
|
cat >> "$README_PATH" <<-EOF
|
||||||
</p>
|
</p>
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user