36 lines
771 B
YAML
36 lines
771 B
YAML
on:
|
|
push:
|
|
branches:
|
|
- 'mai*'
|
|
|
|
jobs:
|
|
test:
|
|
steps:
|
|
- name: 'install dependences'
|
|
run: 'python3 -m pip install jinja2'
|
|
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Checkout oxidized
|
|
uses: actions/checkout@v4
|
|
with:
|
|
repository: milka64/oxidized
|
|
token: ${{ secrets.TOKEN }}
|
|
path: oxidized
|
|
ref: master
|
|
|
|
- name: Checkout nginx config
|
|
uses: actions/checkout@v4
|
|
with:
|
|
repository: milka64/nginx-config
|
|
token: ${{ secrets.TOKEN }}
|
|
path: nginx-config
|
|
ref: main
|
|
|
|
- name: Parsing conf
|
|
run: "cd parsers && python3.11 base.py"
|
|
|
|
- name: Builing documentation
|
|
run: 'make html'
|
|
|