Skip to content

vault backup: 2024-11-09 16:35:21 #38

vault backup: 2024-11-09 16:35:21

vault backup: 2024-11-09 16:35:21 #38

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 /developer-massive-wiki --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