-
-
Notifications
You must be signed in to change notification settings - Fork 160
50 lines (41 loc) · 1.12 KB
/
main.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
name: UHB Deployment Workflow
on:
push:
branches:
- "master"
env:
GIT_NAME: "${{ secrets.GIT_BOT_NAME }}"
GIT_EMAIL: "${{ secrets.GIT_BOT_EMAIL }}"
GITHUB_TOKEN: "${{ secrets.BOT_REPO_PAT }}"
jobs:
single:
name: Run the deployment launcher
runs-on: "${{ matrix.os }}"
strategy:
fail-fast: false
matrix:
python_version:
- "3.11"
os:
- ubuntu-latest
steps:
- uses: actions/checkout@v3
name: Clone repository
with:
token: "${{ secrets.BOT_REPO_PAT }}"
- name: Set up Python ${{ matrix.python_version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python_version }}
- name: Install dependencies
run: |
pip install ultimate-hosts-blacklist-deployment-launcher
- name: Get PyFunceble version
run: |
PyFunceble --version
- name: Get Launcher version
run: |
ultimate-hosts-blacklist-deployment-launcher --version
- name: Run Launcher
run: |
ultimate-hosts-blacklist-deployment-launcher