mirror of
https://github.com/Abdess/retrobios.git
synced 2026-06-28 21:32:49 +00:00
refactor: extract wiki to source files, use deploy-pages action
This commit is contained in:
parent
6e237e3b6d
commit
851f53ba7f
8 changed files with 455 additions and 26 deletions
9
.github/workflows/build.yml
vendored
9
.github/workflows/build.yml
vendored
|
|
@ -23,7 +23,6 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: write
|
||||
pages: write
|
||||
steps:
|
||||
- uses: actions/checkout@v6
|
||||
|
||||
|
|
@ -81,14 +80,6 @@ jobs:
|
|||
if: steps.rate.outputs.skip != 'true'
|
||||
run: python scripts/generate_pack.py --all --output-dir dist/
|
||||
|
||||
- name: Deploy site to GitHub Pages
|
||||
if: steps.rate.outputs.skip != 'true'
|
||||
run: |
|
||||
pip install mkdocs-material
|
||||
python scripts/generate_readme.py --db database.json --platforms-dir platforms
|
||||
python scripts/generate_site.py
|
||||
mkdocs gh-deploy --force --clean
|
||||
|
||||
- name: Release
|
||||
if: steps.rate.outputs.skip != 'true'
|
||||
run: |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue