Skip to content

Anton-Cao/ship-git

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ship Git

Simple Flask web app to automatically pull updates on a remote server. Inspired by Git-Auto-Deploy.

How does it work?

In scripts/, whenever you push to GITHUB_REPO, the bash script GITHUB_REPO.sh will be run. For each GITHUB_REPO you wish to use Ship Git with, you can create a new executable. Make sure the file has the correct permissions to run: chmod 755 GITHUB_REPO.sh.

Deploying

  1. Clone repository onto the server hosting your websites
  2. Create and activate python3 virtual environment
  3. pip install -r requirements.txt
  4. cp sample-config.json config.json
  5. Edit config file as needed
  6. Run the app using gunicorn
  7. Make sure the app is available through some URL
  8. Add the URL to the list of GitHub webhooks in your repository

About

👈push it, 🚢ship it!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published