mirror of
https://github.com/status-im/sticker-packs-publisher.git
synced 2025-02-12 13:46:56 +00:00
Allow to deploy website
This commit is contained in:
parent
42eb11fa7a
commit
87229a577e
4
Makefile
4
Makefile
@ -13,10 +13,10 @@ dev:
|
||||
# requires export NODE_OPTIONS=--max_old_space_size=4096
|
||||
yarn run dev
|
||||
|
||||
deploy-website: install compile
|
||||
deploy: install build
|
||||
$(eval VERSION = $(shell git rev-parse --short HEAD))
|
||||
$(eval MESSAGE = 'Deploying \#$(VERSION)')
|
||||
./node_modules/gh-pages/bin/gh-pages.js --dotfiles --message ${MESSAGE} --dist resources/public
|
||||
npx gh-pages --dotfiles --message ${MESSAGE} --dist dist
|
||||
|
||||
clean:
|
||||
rm -rf node_modules/ dist/ yarn.lock
|
||||
|
@ -2,7 +2,7 @@ A simplistic UI to publish sticker packs.
|
||||
|
||||
# Setup
|
||||
|
||||
yarn
|
||||
make init
|
||||
|
||||
## Local dev env
|
||||
|
||||
|
@ -19,7 +19,7 @@
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "parcel public/index.html --host 127.0.0.1.xip.io --https",
|
||||
"build": "parcel build public/index.html"
|
||||
"build": "parcel build public/index.html --public-url /sticker-packs-publisher/"
|
||||
},
|
||||
"eslintConfig": {
|
||||
"extends": "react-app"
|
||||
|
Loading…
x
Reference in New Issue
Block a user