Skip to content

Add filters for spawn protection #30

Add filters for spawn protection

Add filters for spawn protection #30

Workflow file for this run

name: 'Generate Wikis'
on:
push:
branches:
- 'main'
paths:
- '.github/workflows/wikis_update.yml'
- 'data/projects.json'
- 'docs/**'
- 'mkdocs.yml'
- 'scripts/wikis/**'
permissions:
contents: write
jobs:
update:
runs-on: ubuntu-latest
steps:
- name: 'Checkout'
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: 'Install'
run: sudo apt-get install -y python3 python3-pip optipng
- name: 'Configure'
run: pip3 install mkdocs==1.4.3 mkdocs-material==9.1.14 mkdocs-git-revision-date-localized-plugin==1.2.0
- name: 'Optimize Images'
run: python scripts/optimize_images.py
- uses: stefanzweifel/git-auto-commit-action@v4
name: 'Push images'
with:
commit_message: 'Optimize images'
commit_user_email: '[email protected]'
- name: 'Create table of mods'
run: python scripts/wikis/generate_table.py
- name: 'Create WIP pages'
run: python scripts/wikis/generate_missing_pages.py
- name: 'Add YouTube videos'
run: python scripts/wikis/generate_youtube_embeds.py
- name: 'Build Wiki'
run: mkdocs build -d build_site
- name: 'Modify pages'
run: python scripts/wikis/modify_pages.py
- name: 'Deploy'
uses: 'JamesIves/[email protected]'
with:
branch: gh-pages
folder: 'build_site'
clean: true
git-config-name: 'Github Actions'
git-config-email: '[email protected]'