Skip to content

fix boost

fix boost #990

name: Deploy to GitHub pages branch
on:
push:
branches: master
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
persist-credentials: false
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: lts/*
- name: Install deps
run: |
npm install
- name: Lint
run: |
npm run lint
npm run csslint
- name: Build
run: |
node ./scripts/update-last-updated.js
npm run-script build:esbuild
- name: Prepare for deploy
run: |
rm -rf targetdir
mkdir -p targetdir
mv dist Pictures translations index.html Synergism.css favicon.ico package.json targetdir/
- name: Deploy with the $GME emoji for some reason 🚀
uses: JamesIves/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: targetdir