add template
This commit is contained in:
parent
61c4b90a7b
commit
4457b41915
12
.github/workflows/main.yml
vendored
12
.github/workflows/main.yml
vendored
@ -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:
|
||||
|
5618
template.html
Normal file
5618
template.html
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user