fix repo-name in yml file #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |