Previously my code was "deploy": "gh-pages -d build -b master"
I recently changed it to "deploy": "aws s3 cp build/ s3://dineshpandiyan.com --recursive"
because I bought a new domain - dineshpandiyan.com. I haven't acted on it because I'm yet to setup https in it.
gh-pages pretty much takes care of everything. But it will also delete all your source code in master branch. That's why my source code is in dev branch.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hey, I use gh-pages library for that.
Previously my code was
"deploy": "gh-pages -d build -b master"
I recently changed it to
"deploy": "aws s3 cp build/ s3://dineshpandiyan.com --recursive"
because I bought a new domain - dineshpandiyan.com. I haven't acted on it because I'm yet to setup https in it.
gh-pages
pretty much takes care of everything. But it will also delete all your source code inmaster
branch. That's why my source code is indev
branch.