yay more changes for drone

This commit is contained in:
Liam 2022-10-26 11:22:56 +01:00
parent 032dec14b7
commit 236f485712
2 changed files with 5 additions and 1 deletions

@ -11,6 +11,10 @@ steps:
image: node:18-alpine image: node:18-alpine
commands: commands:
- npm run lint - npm run lint
- name: build
image: node:18-alpine
commands:
- npm run build
- name: deploy - name: deploy
image: node:18-alpine image: node:18-alpine
commands: commands:

@ -4,7 +4,7 @@
"scripts": { "scripts": {
"dev": "set APP_ENV=development && next dev", "dev": "set APP_ENV=development && next dev",
"build": "next build", "build": "next build",
"start": "APP_ENV=production npm i && next build && next start -p 3001", "start": "APP_ENV=production next start -p 3001",
"lint": "next lint" "lint": "next lint"
}, },
"dependencies": { "dependencies": {