why css not working lol

This commit is contained in:
xhyrom 2021-12-22 19:19:19 +01:00
parent 66bebfc5d1
commit 1844b3743b
3 changed files with 10 additions and 5 deletions

View file

@ -15,8 +15,13 @@ jobs:
- uses: actions/setup-node@v1 - uses: actions/setup-node@v1
with: with:
node-version: 12 node-version: 12
- run: cd src/web && npm ci
- run: cd src/web && npm run ghbuild - name: Build
run: |
cd src/web
npm i
npm run build
npm run export
- name: Deploy site - name: Deploy site
uses: JamesIves/github-pages-deploy-action@4.1.4 uses: JamesIves/github-pages-deploy-action@4.1.4

View file

@ -1,3 +1,3 @@
module.exports = { module.exports = {
basePath: '/roles-bot', assetPrefix: '/roles-bot/'
} }

View file

@ -4,9 +4,9 @@
"scripts": { "scripts": {
"dev": "next dev", "dev": "next dev",
"build": "next build", "build": "next build",
"export": "next export",
"start": "next start", "start": "next start",
"lint": "next lint", "lint": "next lint"
"ghbuild": "next build && next export"
}, },
"dependencies": { "dependencies": {
"next": "12.0.7", "next": "12.0.7",