Surge.sh has indeed boosted my efficiency for deploying front-end projects.
How to get started
-
Globally install surge.sh
npm install -g surge
-
Run the surge command
surge
Setup an email and password
-
Add this command to your package.json scripts
... "deploy": "surge --domain your-assigned-domain.surge.sh"
Run the command when next your build is ready.
Voila đ!
Was this helpful? Let me know in the comment section, especially compared to deploying on other platforms.
I am Paul Ishaili C., a software engineer and tech writer. I share interesting thoughts and processes on solving problems and truly understanding programming.
Follow me on Twitter and LinkedIn
Credits
- Cover image: Mimadeo
Top comments (0)