Skip to content

Commit

Permalink
Save commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Prasanna Anbazhagan authored and Prasanna Anbazhagan committed Feb 3, 2025
1 parent 12291a9 commit 7c981eb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/update-home-page.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ jobs:
run: |
echo "# SkunkWorks" > index.md
echo "## Projects" >> index.md
echo "| Project Name | Description | Status | Contributors | Technology | Screenshots | Tags |" >> index.md
echo "|--------------|-------------|--------|--------------|------------|-------------|------|" >> index.md
echo "| Project Name | Description | Status | Contributors | Technology | Tags |" >> index.md
echo "|--------------|-------------|--------|--------------|------------|------|" >> index.md
for file in projects/*.md; do
if [[ $file == "projects/_template.md" ]]; then
continue
Expand All @@ -24,11 +24,10 @@ jobs:
status=$(grep -m 1 '^status:' $file | cut -d '"' -f 2)
contributors=$(grep '^ - ' $file | cut -d '"' -f 2 | paste -sd ', ' -)
tech=$(grep -A 1 '^technology:' $file | tail -n +2 | grep -v '^---' | sed 's/ - //g' | paste -sd ', ' -)
screenshots=$(grep -A 1 '^screenshots:' $file | tail -n +2 | grep -v '^---' | sed 's/ - //g' | paste -sd ' ' -)
tags=$(grep -A 1 '^tags:' $file | tail -n +2 | grep -v '^---' | sed 's/ - //g' | paste -sd ', ' -)
screenshots_md=$(echo $screenshots | sed 's/ /<br>![](/g' | sed 's/^/![](/' | sed 's/$/)/')
echo "| [$title]($file) | $description | $status | $contributors | $tech | $screenshots_md | $tags |" >> index.md
echo "| [$title]($file) | $description | $status | $contributors | $tech | $tags |" >> index.md
done
echo "[Add a New Project](https://github.com/[your-username]/hobby-projects/new/main/projects)" >> index.md
- name: Commit changes
run: |
git config --global user.name "GitHub Actions"
Expand Down
7 changes: 4 additions & 3 deletions index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# SkunkWorks
## Projects
| Project Name | Description | Status | Contributors | Technology | Screenshots | Tags |
|--------------|-------------|--------|--------------|------------|-------------|------|
| [Wealth Wave](projects/wealthwave.md) | A tool to maintain and track investments. | Completed | Prasanna Anbazhagan @prasannasahaj, - Finance - Tool,https://raw.githubusercontent.com/sahajsoft/skunkworks/main/assets/wealth_wave_1.png https://raw.githubusercontent.com/sahajsoft/skunkworks/main/assets/wealth_wave_2.png,https://raw.githubusercontent.com/sahajsoft/skunkworks/main/assets/wealth_wave_3.png https://raw.githubusercontent.com/sahajsoft/skunkworks/main/assets/wealth_wave_4.png, - Flutter - AWS, - TypeScript | | ![]("https://raw.githubusercontent.com/sahajsoft/skunkworks/main/assets/wealth_wave_1.png") | Finance |

| Project Name | Description | Status | Contributors | Technology | Tags |
|--------------|-------------|--------|--------------|------------|------|
| [Wealth Wave](projects/wealthwave.md) | A tool to maintain and track investments. | Completed | Prasanna Anbazhagan @prasannasahaj | Flutter, AWS, TypeScript | Finance, Tool |

0 comments on commit 7c981eb

Please sign in to comment.