Skip to content

Merge pull request #55 from WitchyMods/witchy-fixes #84

Merge pull request #55 from WitchyMods/witchy-fixes

Merge pull request #55 from WitchyMods/witchy-fixes #84

Workflow file for this run

name: Deploy
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Use Node.js 18
uses: actions/setup-node@v1
with:
node-version: 18
- name: Install and Build 🔧
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
npm install
npm run docs:build
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@4.1.0
with:
branch: wiki
folder: docs/.vitepress/dist
- name: Index 🔍
uses: darrenjennings/algolia-docsearch-action@master
with:
algolia_application_id: 'QS6BR6DKN3'
algolia_api_key: ${{ secrets.algoliaSecret }}
file: 'algolia.json'