From e92cce3416d9a82972fa013b1ed220c538e6e5b0 Mon Sep 17 00:00:00 2001 From: Facundo De Lorenzo Date: Fri, 16 Aug 2024 18:01:05 -0300 Subject: [PATCH] try3 --- .github/workflows/pipeline.yml | 19 ++++--------------- coolFolder/cooldoc.md | 1 + 2 files changed, 5 insertions(+), 15 deletions(-) diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml index 09a5b01..ac9b1f8 100644 --- a/.github/workflows/pipeline.yml +++ b/.github/workflows/pipeline.yml @@ -14,25 +14,14 @@ jobs: - name: Checkout code uses: actions/checkout@v3 - - name: Set up Python - uses: actions/setup-python@v4 - with: - python-version: '3.x' - - - name: Install pandoc and dependencies + - name: Install pandoc run: | sudo apt-get install -y pandoc texlive-xetex - pip install pandoc-mermaid-filter + npm install -g @mermaid-js/mermaid-cli - - name: Ensure pandoc-mermaid-filter is in PATH + - name: install mermaid-filter and Convert Markdown to PDF run: | - export PATH="$PATH:$(python -m site --user-base)/bin" - echo "Checking pandoc-mermaid-filter location:" - which pandoc-mermaid-filter || { echo "pandoc-mermaid-filter not found"; exit 1; } - - - name: Convert Markdown to PDF - run: | - export PATH="$PATH:$(python -m site --user-base)/bin" + pip install pandoc-mermaid-filter for file in $(find . -name '*.md'); do pdf_file="${file%.md}.pdf" pandoc --filter=pandoc-mermaid-filter "$file" -o "$pdf_file" --pdf-engine=xelatex diff --git a/coolFolder/cooldoc.md b/coolFolder/cooldoc.md index b45734c..84ffafb 100644 --- a/coolFolder/cooldoc.md +++ b/coolFolder/cooldoc.md @@ -857,6 +857,7 @@ This script is designed to execute a series of post-deployment tasks after the A - **setup-e-modes:** Configures e-modes (efficiency modes) for different asset classes. - **setup-liquidation-protocol-fee:** Sets up the protocol fee for liquidations. + #### Testnet-Specific Tasks - **disable-faucet-native-testnets:** Disables the faucet's ability to mint and borrow the wrapped native token on testnets.