From b6f0b428b382ec7cade0f5b6dc1c267072002b55 Mon Sep 17 00:00:00 2001 From: Sean Kelly Date: Tue, 5 Nov 2024 12:14:19 -0600 Subject: [PATCH] Forget Jekyll format it myself --- .github/workflows/leaderboard.yaml | 19 +++++++++++++------ engineering.json | 4 ---- 2 files changed, 13 insertions(+), 10 deletions(-) diff --git a/.github/workflows/leaderboard.yaml b/.github/workflows/leaderboard.yaml index 19da8ab..f49012b 100644 --- a/.github/workflows/leaderboard.yaml +++ b/.github/workflows/leaderboard.yaml @@ -50,18 +50,25 @@ jobs: node-version: '16' - name: 📲 Software Installation - run: pip install --no-input --quiet --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple/ slim-leaderboard + run: | + apt-get update --quiet --yes + apt-get install --quiet --yes pandoc + pip install --no-input --quiet --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple/ slim-leaderboard - name: 📈 Leaderboard Generation run: | - mkdir --parents gh-pages - rm --force gh-pages/index.md - echo -e "---\nlayout: default\n---\n" > gh-pages/index.md - slim-leaderboard --emoji --output_format MARKDOWN engineering.json >> gh-pages/index.md + rm --force leaderboard.md + slim-leaderboard --emoji --output_format MARKDOWN engineering.json > leaderboard.md env: GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} - - name: 📢 Leaderbord Publication + name: 🖋️ Formatting + run: | + mkdir --parents gh-pages + rm --force gh-pages/index.html + pandoc leaderboard.md --output=gh-pages/index.html + - + name: 📢 Publication uses: peaceiris/actions-gh-pages@v4 with: github_token: ${{secrets.GITHUB_TOKEN}} diff --git a/engineering.json b/engineering.json index 959ca3a..df9d1c2 100644 --- a/engineering.json +++ b/engineering.json @@ -39,10 +39,6 @@ { "name" : "https://github.com/NASA-PDS/data-upload-manager", "type" : "repository" - }, - { - "name" : "https://github.com/NASA-PDS/pds4-jparser", - "type" : "repository" } ] }