Skip to content

Enhance mod synchronization features and improve income handling #6

Enhance mod synchronization features and improve income handling

Enhance mod synchronization features and improve income handling #6

Workflow file for this run

name: Deploy MkDocs
on:
push:
branches:
- master
- main
paths:
- "help/**"
- "overrides/**"
- "mkdocs.yml"
- "docs-requirements.txt"
- ".github/workflows/pages.yml"
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: pages
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
cache: pip
cache-dependency-path: docs-requirements.txt
- name: Install MkDocs
run: |
pip install -r docs-requirements.txt
- name: Build
run: mkdocs build --strict
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Upload Pages artifact
uses: actions/upload-pages-artifact@v3
with:
path: site
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy
id: deployment
uses: actions/deploy-pages@v4