Merge pull request #69 from nanot1m/website-ci

Deploy static to gh-pages
This commit is contained in:
Timur Khazamov 2020-01-04 01:53:36 +05:00 committed by GitHub
commit c11b3aa684
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 11 additions and 1 deletions

6
.gitignore vendored
View File

@ -5,6 +5,12 @@ npm-debug.log*
yarn-debug.log* yarn-debug.log*
yarn-error.log* yarn-error.log*
# Build artifacts
build
# Dependency directories # Dependency directories
node_modules/ node_modules/
# Editors
.vscode/ .vscode/

View File

@ -1,5 +1,6 @@
{ {
"name": "react", "name": "react",
"homepage": "https://www.excalidraw.com",
"version": "1.0.0", "version": "1.0.0",
"description": "", "description": "",
"keywords": [], "keywords": [],
@ -14,6 +15,7 @@
"devDependencies": { "devDependencies": {
"@types/react": "16.9.17", "@types/react": "16.9.17",
"@types/react-dom": "16.9.4", "@types/react-dom": "16.9.4",
"gh-pages": "2.1.1",
"husky": "3.1.0", "husky": "3.1.0",
"lint-staged": "9.5.0", "lint-staged": "9.5.0",
"prettier": "1.19.1", "prettier": "1.19.1",
@ -23,7 +25,8 @@
"start": "react-scripts start", "start": "react-scripts start",
"build": "react-scripts build", "build": "react-scripts build",
"test": "react-scripts test --env=jsdom", "test": "react-scripts test --env=jsdom",
"eject": "react-scripts eject" "eject": "react-scripts eject",
"deploy": "react-scripts build && gh-pages -d build"
}, },
"browserslist": [ "browserslist": [
">0.2%", ">0.2%",

1
public/CNAME Normal file
View File

@ -0,0 +1 @@
www.excalidraw.com