From 4457b41915a13c35de17eca5fe87624174aeb6f8 Mon Sep 17 00:00:00 2001 From: Rodrigo de Avila Date: Wed, 9 Aug 2023 20:29:42 -0300 Subject: [PATCH] add template --- .github/workflows/main.yml | 12 +- template.html | 5618 ++++++++++++++++++++++++++++++++++++ 2 files changed, 5625 insertions(+), 5 deletions(-) create mode 100644 template.html diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3583b23..28f97dc 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -11,15 +11,17 @@ jobs: runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v3 - - name: Calculate mirror drift + - name: Install dependencies run: | sudo apt-get update && sudo apt-get install -y jq pandoc python3-pip curl pip install yq + - name: Calculate mirror drift + run: | mkdir dist - bash run.sh > dist/result.md - cd dist - pandoc -f markdown -t html result.md > index.html - rm result.md + bash run.sh > result.md + - name: Compile HTML file + run: | + pandoc --metadata title="AlmaLinux Mirror Propagation Report" --to=html5 -s -f markdown+smart --template=template.html result.md -o dist/index.html - name: Publish to Cloudflare Pages uses: cloudflare/pages-action@v1 with: diff --git a/template.html b/template.html new file mode 100644 index 0000000..8e8d9a2 --- /dev/null +++ b/template.html @@ -0,0 +1,5618 @@ + + + + + + AlmaLinux Mirror Propagation Report + + + + + + $body$ + + + + \ No newline at end of file