Skip to content

dennisperremans/deploy-bash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

deploy bash

Summary

This is an extra script for git-ftp. You can easily deploy to your staging or production environment. git-ftp already has the possibility the put your credentials in scopes. But this is an easier solution for me that I would like to share with you.

How to use

  1. Install git-ftp https://github.com/git-ftp/git-ftp/blob/master/INSTALL.md
  2. Place the deploy file in your project folder
  3. IMPORTANT .gitignore the deploy file
  4. Insert your hosting credentials (staging and production) in de deploy file
  5. Give permissions chmod +x scriptname
  6. Be sure if your git repo is up to date - git push for latest version in repo.
  7. Run the script ./deploy
  8. Some questions will be asked 8.1. Do you want to init the project? [yes or no] Type yes if this project isn't online yet or typ no if you want to update your current project 8.2. Where to deploy? [staging or production]
  9. Your project is being deployed.
  10. It takes some time to deploy depending on the size of your project.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages