Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use a deployment method for the website #19

Open
ms-studio opened this issue Aug 17, 2014 · 2 comments
Open

Use a deployment method for the website #19

ms-studio opened this issue Aug 17, 2014 · 2 comments
Labels
Milestone

Comments

@ms-studio
Copy link
Member

I think it would be great if we would use a deployment method for the LGM website.

There are deployment services that can sync with a Github repository, so when we would push an update to the website source code, it would get pushed via FTP to the server.

One of those services – https://www.deployhq.com/ – is offering free accounts for open source projects. I guess that LGM could apply for that.

The benefits:

  • Makes collaboration easier.
  • Changes on the website can be tracked and reversed easily.
  • Not necessary to share FTP credentials with all site contributors.
@ms-studio ms-studio added this to the website milestone Aug 17, 2014
@ms-studio ms-studio added the idea label Aug 17, 2014
@aoloe
Copy link
Contributor

aoloe commented Aug 18, 2014

you're a lucky guy :-)

last weekend i've spent three hours working on that and came up with a simple self-hosted solution which achieves the same result, but the other way round:

https://github.com/aoloe/php-git-deploy

in short:

  • add a webhook in the github repository that calls this script,
  • this script gets the changes per json, pulls files from github per http and places them in the right path.

it's very simple and even if it's not used in production yet, it should just work.

and it's free for everybody :-)

i would be glad if you could have a look at it (most of all the conceptual part) and see if it's of any use for this task.

i need for two web projects of mine, so i plan to get to version 1.0 sometimes during this week.

@ms-studio
Copy link
Member Author

Sounds great! I haven't been looking at the code yet. Have you been using it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants