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.