Add Galactic Theme #60
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Pull request test build | |
on: | |
pull_request: | |
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, | |
.github/workflows/test.yml | |
] | |
jobs: | |
run: | |
runs-on: ubuntu-latest | |
container: devkitpro/devkitarm | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Install packages | |
run: | | |
echo deb http://deb.debian.org/debian stable main contrib non-free >> /etc/apt/sources.list | |
sudo apt-get update | |
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 }} |