Merge pull request #12 from Permissionless-Software-Foundation/ct-unstable

Publishing to GH pages
This commit is contained in:
Chris Troutner
2022-09-03 12:38:34 -07:00
committed by GitHub
2 changed files with 15 additions and 2 deletions
+11
View File
@@ -0,0 +1,11 @@
#!/bin/bash
# Bash shell script to publish the app to GitHub pages.
pwd
git checkout gh-pages
git merge master
npm run build
cp -r build docs
git add -A
git commit -m "Updating GitHub page"
git push
+4 -2
View File
@@ -18,7 +18,8 @@
"test": "react-scripts test", "test": "react-scripts test",
"eject": "react-scripts eject", "eject": "react-scripts eject",
"lint": "standard --env mocha --fix", "lint": "standard --env mocha --fix",
"pub": "node deploy/publish-main.js" "pub": "node deploy/publish-main.js",
"pub:ghp": "./deploy/publish-gh-pages.sh"
}, },
"eslintConfig": { "eslintConfig": {
"extends": "react-app" "extends": "react-app"
@@ -39,5 +40,6 @@
"minimal-slp-wallet": "5.0.3", "minimal-slp-wallet": "5.0.3",
"standard": "17.0.0", "standard": "17.0.0",
"web3.storage": "4.3.0" "web3.storage": "4.3.0"
} },
"homepage": "https://permissionless-software-foundation.github.io/react-bootstrap-web3-spa"
} }