diff --git a/.github/workflows/update-projects.yml b/.github/workflows/update-projects.yml deleted file mode 100644 index 3cc5561..0000000 --- a/.github/workflows/update-projects.yml +++ /dev/null @@ -1,39 +0,0 @@ -name: update-projects - -on: - schedule: - - cron: '0 0 * * 0' # Runs at 00:00 UTC every Sunday - workflow_dispatch: # Allow manual triggering - -jobs: - update-stats: - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 0 # Needed for git history - - - name: Set up Python - uses: actions/setup-python@v4 - with: - python-version: '3.13' - - - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install pyyaml requests - - - name: Update project details - run: python scripts/update-projects.py "data/projects.yml" - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - - name: Commit changes - if: success() - run: | - git config --global user.name "GitHub Actions" - git config --global user.email "actions@github.com" - git add data/projects.yml - git diff --quiet && git diff --staged --quiet || git commit -m "Auto-update GitHub project details." - git push diff --git a/layouts/partials/project.html b/layouts/partials/project.html index 439e412..1c594bd 100644 --- a/layouts/partials/project.html +++ b/layouts/partials/project.html @@ -3,16 +3,19 @@
-
-
- ★ {{ .item.stars }}
-
- {{ .item.language }}
+
+
+
+ {{ if .item.language }}
+
+ {{ end }}
{{ .item.description }}