lektor icon indicating copy to clipboard operation
lektor copied to clipboard

Sync with git repository

Open hiromipaw opened this issue 8 years ago • 3 comments

Lektor already contains support to publish a project to github pages. I'd like to have the possibility to publish to a git repository as a merge request. This will allow people in a team to work on the same project and send their changes to be approved to git. If I work on this issue, providing code and tests, would you be interested to merge it?

hiromipaw avatar Oct 31 '17 13:10 hiromipaw

You could manage the project source in a git repository, and automate the building/deploy when a PR is merged (see: https://www.getlektor.com/docs/deployment/travisci/), I think It's a better workflow that discussing/approving changes in generated code.

rlaverde avatar Oct 31 '17 16:10 rlaverde

If I work on this issue, providing code and tests, would you be interested to merge it?

@hiromipaw it's been a long time, but if you're still interested the answer is very much yes.

xlotlu avatar Jul 20 '20 21:07 xlotlu

Save yourself writing something new; you could use https://github.com/CamilionEU/lektor-git-src-publisher on a checked out branch. For your workflow desire - you could then have your CI raise a MR on each commit.

mountainash avatar Aug 13 '20 08:08 mountainash