DEV Community

Cover image for Continuous deployment for front-end projects with surge.sh
Paul C. Ishaili
Paul C. Ishaili

Posted on

Continuous deployment for front-end projects with surge.sh

Surge.sh has indeed boosted my efficiency for deploying front-end projects.

How to get started

  1. Globally install surge.sh

    npm install -g surge
    
  2. Run the surge command

    surge
    
  3. Setup an email and password

  4. Assign a domain for your project
    Surge.sh description

  5. Add this command to your package.json scripts

    ...
    "deploy": "surge --domain your-assigned-domain.surge.sh"
    
  6. 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

Top comments (0)