Skip to content

📝 todos

📝 todos #7

Workflow file for this run

name: Build and Deploy
on:
workflow_dispatch:
push:
branch: main
permissions:
contents: write
jobs:
build-and-deploy:
concurrency: ci-${{ github.ref }} # Recommended if you intend to make multiple deployments in quick succession.
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4
- name: Install system dependencies 🖥️
run: |
sudo apt-get update
sudo apt install pandoc weasyprint
- name: Setup Python 🐍
uses: actions/setup-python@v2
- name: Install dependencies 💿
run: |
pip install -e .
- name: Build 🔧
run: |
legal-text-processor reintegrate indexed-tariff-specific-conditions/??.yaml
legal-text-processor generate indexed-tariff-specific-conditions/
- name: Generate Directory Listings 📂
uses: jayanta525/[email protected]
with:
FOLDER: output
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: output