Skip to content

perf: case-insensitive #76

perf: case-insensitive

perf: case-insensitive #76

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches: [ "astrbot-plugins-market" ]
workflow_dispatch:
permissions:
contents: write
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '18'
- name: Cache npm modules
uses: actions/cache@v3
with:
path: |
~/.npm
node_modules
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install dependencies
run: npm ci
- name: Build project
run: npm run build
- name: Prepare for deployment
run: |
cd dist
touch .nojekyll
echo "astrbot_plugins_market" > .nojekyll
cd ..
- name: Deploy to GitHub Pages
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: dist
clean: true