Skip to content

Commit

Permalink
Forget Jekyll format it myself
Browse files Browse the repository at this point in the history
  • Loading branch information
nutjob4life committed Nov 5, 2024
1 parent 2e9ced0 commit b6f0b42
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 10 deletions.
19 changes: 13 additions & 6 deletions .github/workflows/leaderboard.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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}}
Expand Down
4 changes: 0 additions & 4 deletions engineering.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
]
}

0 comments on commit b6f0b42

Please sign in to comment.