Skip to content

Update init.luau

Update init.luau #411

Workflow file for this run

name: MkDocs Deploy
on:
push:
branches:
- main
env:
FUSION_VERSION: 0.4
FUSION_DEPLOY_TYPE: 'dev'
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Install Python 3.x
uses: actions/setup-python@v4
with:
python-version: 3.x
- name: Install setuptools (for mike)
run: pip install --upgrade setuptools
- name: Install MkDocs
run: pip install mkdocs-material==8.2.13
- name: Install mike
run: pip install mike==1.1.2
- name: Configure FusionDoc Git user
run: |
git config user.name fusiondoc
git config user.email [email protected]
- name: Fetch gh-pages branch
run: git fetch origin gh-pages --depth=1
- name: Deploy latest documentation
if: env.FUSION_DEPLOY_TYPE == 'release'
run: mike deploy $FUSION_VERSION latest -u -b gh-pages
- name: Set default version to latest
if: env.FUSION_DEPLOY_TYPE == 'release'
run: mike set-default latest -b gh-pages -p
- name: Deploy developer documentation
if: env.FUSION_DEPLOY_TYPE == 'dev'
run: mike deploy $FUSION_VERSION -u -b gh-pages -p