-
Notifications
You must be signed in to change notification settings - Fork 1
52 lines (39 loc) · 1.11 KB
/
check-and-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
48
49
50
51
52
name: Check and Build
on:
schedule:
- cron: '0 0 * * 5'
workflow_dispatch:
jobs:
check-rules:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install dependencies
run: |
curl -sSL https://install.python-poetry.org | python -
poetry install --no-root
- name: Check if rules have changed
run: python bin/updaterules.py
- name: Run conversion for snort
run: python runner.py --convert snort
- name: Run conversion for et
run: python runner.py --convert et
- name: Run conversion for et
run: python runner.py --convert custom
#- name: Run conversion for suricata
# run: python runner.py --convert suricata
- name: Generate CVE Report
run: python bin/cvereport.py
- name: Build the site
run: |
cd Magic-SigExplorer
mkdocs build
- name: Deploy to GitHub Pages
run: |
cd Magic-SigExplorer
mkdocs gh-deploy --force