From 1403c37ac7e4921e820de4f294f294edbacbaf3c Mon Sep 17 00:00:00 2001 From: Rodrigo de Avila Date: Thu, 17 Aug 2023 14:35:41 -0300 Subject: [PATCH] fix: Remove pandoc requirement --- .github/workflows/main.yml | 2 +- run.sh | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ed3541b..e48fae4 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -17,7 +17,7 @@ jobs: pip install yq mkdocs-material - name: Calculate mirror drift run: | - mkdir dist + which mkdocs bash run.sh > docs/index.md - name: Compile HTML file run: | diff --git a/run.sh b/run.sh index 8ffb7e3..06155de 100755 --- a/run.sh +++ b/run.sh @@ -10,11 +10,6 @@ if ! command -v yq >/dev/null 2>&1; then exit 1 fi -if ! command -v pandoc >/dev/null 2>&1; then - echo "The pandoc command is not available" - exit 1 -fi - ORIGINAL_TIME=$(curl -fsSL "https://rsync.repo.almalinux.org/almalinux/TIME") # Example: https://admin.fedoraproject.org/mirrormanager/propagation