-
Notifications
You must be signed in to change notification settings - Fork 0
48 lines (40 loc) · 1.25 KB
/
build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
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 fonts-roboto # fonts-montserrat
- 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
- name: 📂 Generate Directory Listings
uses: jayanta525/[email protected]
with:
FOLDER: output
- name: 🚀 Deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: output
- name: 🗨️ Notify
uses: Som-Energia/ghactions-notify@main
if: always()
with:
webhook: ${{ secrets.WEBHOOK_ALERTES_WEBAPPS }}