-
-
Notifications
You must be signed in to change notification settings - Fork 0
50 lines (42 loc) · 1.31 KB
/
generate-jira-excerpt.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: "Pull from Armbian Jira"
on:
repository_dispatch:
types: ["Jira update"]
concurrency:
group: redirector
cancel-in-progress: false
jobs:
jira:
runs-on: ubuntu-24.04
name: "Get from Armbian Jira"
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
path: armbian.github.io
- name: setup python
uses: actions/setup-python@v5
with:
python-version: 3.8 #install the python needed
- name: "Run script"
run: |
pip install jira
./armbian.github.io/scripts/pull-from-jira.py
- name: Commit changes if any
run: |
cd armbian.github.io
git checkout data
mkdir -p data/
mv ${{ github.workspace }}/jira-current.html data/
mv ${{ github.workspace }}/jira-next.html data/
git config --global user.name "github-actions"
git config --global user.email "[email protected]"
git add data/.
git diff --cached --quiet || git commit -m "Update WEB indes files"
git push
- name: "Run webindex update action"
uses: peter-evans/repository-dispatch@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
event-type: "Generate directory"