Skip to content

Jira update

Jira update #152

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: "Base files"