Great Article!
What is your build and deploy process?
I know that the "master" branch has to contain the compiled files in order for user.github.io pages to work, and I see you have a "dev" branch that contains your source files.
Looking at your package.json
"deploy": "aws s3 cp build/ s3://dineshpandiyan.com --recursive"
How are you building the files and moving just the contents of the "build" folder from the "dev" branch to the "master" branch? via webhooks?
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.
Great Article!
What is your build and deploy process?
I know that the "master" branch has to contain the compiled files in order for user.github.io pages to work, and I see you have a "dev" branch that contains your source files.
Looking at your package.json
"deploy": "aws s3 cp build/ s3://dineshpandiyan.com --recursive"
How are you building the files and moving just the contents of the "build" folder from the "dev" branch to the "master" branch? via webhooks?
thanks,
drew
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.