From 8ead5c04a2bf40f777f1cf2682ed9ae6ce1ea11c Mon Sep 17 00:00:00 2001 From: familyfriendlymikey Date: Tue, 19 Jul 2022 18:57:43 -0400 Subject: [PATCH] change deployment from github pages to cloudflare --- package.json | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 5631501..edcade3 100644 --- a/package.json +++ b/package.json @@ -3,13 +3,12 @@ "version": "0.0.28", "scripts": { "start": "imba run -SMH --baseurl . -w server.imba", - "build-app": "imba build -SMH --baseurl . server.imba", + "build-app": "rm -rf dist && imba build -SMH --baseurl . server.imba", "build-sw": "imbac sw.imba -o dist/public", "build": "npm run build-app && npm run build-sw", - "nojekyll": "npx touch dist/public/.nojekyll", - "pages": "npx gh-pages --no-history --dotfiles --dist dist/public", + "pages": "npx gh-pages --no-history --dotfiles --dist dist/public --branch deploy", "static": "cd dist/public && echo http://localhost:8000 && python3 -m http.server &>/dev/null", - "deploy": "npm run build && npm run nojekyll && npm run pages" + "deploy": "npm run build && npm run pages" }, "dependencies": { "express": "^4.17.1",