Skip to content

build on github pages #1

build on github pages

build on github pages #1

Workflow file for this run

name: Deploy MassiveWiki to GitHub Pages
on:
push:
branches:
- main
jobs:
build-and-deploy:
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- name: checkout repository
uses: actions/checkout@v4
- name: setup Python
uses: actions/setup-python@v5
with:
python-version: '3.8'
- name: install Python dependencies
run: |
cd .nxc
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: install node modules
working-directory: .nxc
run: |
npm ci
- name: Build website
run: |
cd .nxc
nxc build -i .. -o ../output -r /nxcTestVault --lunr --commits
- name: add a nojekyll file
run: touch $GITHUB_WORKSPACE/output/.nojekyll
- name: Deploy to GitHub Pages
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: output