Skip to content

Latest commit

 

History

History
22 lines (18 loc) · 965 Bytes

github-setup.md

File metadata and controls

22 lines (18 loc) · 965 Bytes

⏳ Github setup guide

  1. Clone autodeploy.js to your server

  2. update REPO folder field in autodeploy.js to point to your project

  3. update relevant commands in autodeploy.js to handle git pull, server restart command

  4. launch the script, it listens at port 888 by default

  5. Head to your project's Github settings page and click on add webhook

github step one

  1. Enter the URL for the webhooks, it should be your_url + port 888

github step two

  1. Done.