Skip to content

unistore: Fix akmenu theme extraction (probably) #240

unistore: Fix akmenu theme extraction (probably)

unistore: Fix akmenu theme extraction (probably) #240

Workflow file for this run

name: Update UniStore and pages
on:
push:
branches: [ master ]
paths: [
generate.py,
bannergif.py,
"_nds/TWiLightMenu/*menu/themes/**",
"_nds/TWiLightMenu/unlaunch/backgrounds/**",
"_nds/TWiLightMenu/unlaunch/extras/fonts/**",
"_nds/TWiLightMenu/icons/**",
.github/workflows/update.yml
]
workflow_dispatch:
jobs:
run:
runs-on: ubuntu-latest
container: devkitpro/devkitarm
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install packages
run: |
sudo apt-get update
sudo apt-get install python3-dev python3-setuptools -y
sudo apt-get install libtiff5-dev libjpeg62-turbo-dev libopenjp2-7-dev zlib1g-dev \
libfreetype6-dev liblcms2-dev libwebp-dev tcl8.6-dev tk8.6-dev python3-tk \
libharfbuzz-dev libfribidi-dev libxcb1-dev -y
sudo apt-get install python3-pip -y
pip3 install -r requirements.txt
- name: Workaround Git issue by chowning the repo
run: |
# when will github fix this
chown -R $(id -u):$(id -g) $PWD
- name: Delete old pages
run: rm -rf docs/_nintendo-3ds/* docs/_nintendo-dsi/* docs/_r4-original/* docs/_wood-ui/* docs/_unlaunch/* docs/_font/* docs/_icon/* docs/nintendo-3ds/category/* docs/nintendo-dsi/category/* docs/r4-original/category/* docs/wood-ui/category/* docs/unlaunch/category/* docs/font/category/* docs/icon/category/*
- name: Run generate.py
run: |
export PATH=$PATH:/opt/devkitpro/tools/bin
python3 generate.py ${{ secrets.GITHUB_TOKEN }}
- name: Push changes
uses: github-actions-x/[email protected]
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
push-branch: 'master'
commit-message: 'Update UniStore and pages'
force-add: 'false'
files: '*'
name: TWLBot
email: [email protected]