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 8a18cb8 commit f8e8f67
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 12 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/update-home-page.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ jobs:
uses: actions/checkout@v3
- name: Generate Homepage
run: |
echo "# SkunkWorks" > index.md
echo "## Projects" >> index.md
echo "| Project Name | Description | Status | Contributors | Technology | Tags |" >> index.md
echo "|--------------|-------------|--------|--------------|------------|------|" >> index.md
echo "# SkunkWorks" > README.md
echo "## Projects" >> README.md
echo "| Project Name | Description | Status | Contributors | Technology | Tags |" >> README.md
echo "|--------------|-------------|--------|--------------|------------|------|" >> README.md
for file in projects/*.md; do
if [[ $file == "projects/_template.md" ]]; then
continue
Expand All @@ -34,12 +34,12 @@ jobs:
else
status_icon=$status
fi
echo "| [$title]($file) | $description | $status_icon | $contributors | $tech | $tags |" >> index.md
echo "| [$title]($file) | $description | $status_icon | $contributors | $tech | $tags |" >> README.md
done
- name: Commit changes
run: |
git config --global user.name "GitHub Actions"
git config --global user.email "[email protected]"
git add index.md
git add README.md
git commit -m "Automatically update homepage with project details and tech stack"
git push
6 changes: 0 additions & 6 deletions index.md

This file was deleted.

0 comments on commit f8e8f67

Please sign in to comment.