Skip to content

fix

fix #124

Workflow file for this run

name: CD
on:
push:
branches:
- master
- 2024
jobs:
deploy_2024:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
cache-dependency-path: 2023/package-lock.json
- run: mkdir dist
- run: cp public/* dist/
- run: mv 2019/public dist/2019
- run: mv 2021/public dist/2021
- run: mv 2022/public dist/2022
- run: mv 2023/public dist/2023
- run: cd 2024 && npm i && npm run build -- --prefix-paths --verbose && (mv public/2024 ../dist || mkdir ../dist/2024) && cp -r public/* ../dist/2024
- run: find dist