Skip to content

Commit

Permalink
Save commit
Browse files Browse the repository at this point in the history
  • Loading branch information
prasannasahaj authored Feb 3, 2025
1 parent 4df68f9 commit 9176d59
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 28 deletions.
16 changes: 13 additions & 3 deletions .github/workflows/update-home-page.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,27 @@ jobs:
uses: actions/checkout@v3
- name: Generate Homepage
run: |
echo "# Skunkwork Projects Showcase" > index.md
echo "# Hobby Projects Showcase" > index.md
echo "## Projects" >> index.md
for file in projects/*.md; do
title=$(grep -m 1 '^title:' $file | cut -d '"' -f 2)
description=$(grep -m 1 '^description:' $file | cut -d '"' -f 2)
status=$(grep -m 1 '^status:' $file | cut -d '"' -f 2)
echo "- [$title]($file) - **Status: $status**" >> index.md
contributors=$(grep '^ - ' $file | cut -d '"' -f 2 | paste -sd ', ' -)
thumbnail=$(grep -m 1 '^thumbnail:' $file | cut -d '"' -f 2)
echo "### [$title]($file)" >> index.md
echo "![Thumbnail]($thumbnail)" >> index.md
echo "**Status:** $status" >> index.md
echo "**Description:** $description" >> index.md
echo "**Contributors:** $contributors" >> index.md
echo "" >> index.md
echo "---" >> 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"
git config --global user.email "[email protected]"
git add index.md
git commit -m "Automatically update homepage"
git commit -m "Automatically update homepage with project details"
git push
10 changes: 4 additions & 6 deletions projects/_template.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,17 @@
---
title: "Project Name"
description: "A brief description of the project."
status: "Ongoing" # Ongoing, Completed, Abandoned
contributors:
- "Contributor 1"
- "Contributor 1 @githubuser"
- "Contributor 2"
video: "https://youtube.com/embed/your-video-id"
thumbnail: "https://via.placeholder.com/150" # Link to a thumbnail image
---

## Description
A brief description of the project.

## Progress Updates
- 2023-10-01: Started the project.
- 2023-10-15: Added basic functionality.

## How to Contribute
- Contact: [Your Email](mailto:[email protected])
- Skills Needed: Python, HTML, CSS
- Tech: Python, HTML, CSS
19 changes: 0 additions & 19 deletions projects/wealthwave

This file was deleted.

16 changes: 16 additions & 0 deletions projects/wealthwave.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
title: "Wealth Wave"
description: "A tool to maintain and track investments."
status: "Completed" # Ongoing, Completed, Abandoned
contributors:
- "Prasanna Anbazhagan @prasannasahaj"
thumbnail: "https://via.placeholder.com/150" # Link to a thumbnail image
---

## Progress Updates
- 2024-10-01: Added expense tracker.
- 2024-08-01: Added way to sync the funds value from API.

## How to Contribute
- Contact: [Your Email](mailto:[email protected])
- Tech: Flutter, AWS, TS

0 comments on commit 9176d59

Please sign in to comment.