Skip to content

Commit

Permalink
fix(release-deploy): no need to add deployment mannually
Browse files Browse the repository at this point in the history
  • Loading branch information
sudkumar committed Jan 2, 2020
1 parent eaeedc6 commit 11b3170
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 12 deletions.
7 changes: 2 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,13 @@ Marketing website for tourepedia: https://tourepedia.com
```bash
git clone [email protected]:tourepedia/www www && cd www
npm install
npm start
npm run dev
```

## Scripts

```bash
npm run dev # start the development server
npm run build # create the production build
npm run serve # serve the production build locally
npm run format # format all the *.js files
npm run deploy:testing # to deploy to the testing server
npm run deploy:production # to deploy to the production server
npm run start # serve the production build locally
```
3 changes: 1 addition & 2 deletions now.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
{
"name": "@tourepedia/www",
"alias": ["tourepedia.com"]
"name": "@tourepedia/www"
}
6 changes: 1 addition & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,9 @@
"dev": "env-cmd -f .env.development next -p 4000",
"start": "next start",
"release": "env-cmd -f .env.tokens semantic-release",
"postrelease": "npm run deploy:production",
"commit": "git-cz",
"build": "next build",
"postbuild": "env-cmd -f .env.production node sitemap.js",
"serve": "next start",
"deploy:testing": "now",
"deploy:production": "now --prod"
"postbuild": "env-cmd -f .env.production node sitemap.js"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 11b3170

Please sign in to comment.