Giter Site home page Giter Site logo

Comments (6)

w00fz avatar w00fz commented on May 12, 2024 3

This is now available in v2.0.1! 🎉

from grav-plugin-git-sync.

w00fz avatar w00fz commented on May 12, 2024 2

That's a good idea! I'll have a CLI command to setup the configuration as a whole as well as configure individual portions. I'm thinking something along the lines:

$ bin/plugin git-sync configure
$ bin/plugin git-sync configure --user="w00fz" --repository="https://github.com/trilbymedia/grav-plugin-git-sync.git"

from grav-plugin-git-sync.

btopro avatar btopro commented on May 12, 2024

This may be of interest as well for invoking via gui http://kbjr.github.io/Git.php/ we use it in @elmsln to pull in and orchestrate git repositoris via drupal

from grav-plugin-git-sync.

scottybrown avatar scottybrown commented on May 12, 2024

I'd like to see this!
Good for building a Docker image with Grav in it. As it stands you can copy git-sync.yaml to the correct folder, but the plugin does not save the new configuration until the "Save" button is clicked in the GUI.
It does pre-fill the configuration page with your details, but "Save" must be clicked before it will work. It's close but not quite close enough for a fully automated deploy!

from grav-plugin-git-sync.

lpaulger avatar lpaulger commented on May 12, 2024

this would be great for automated deploys (and dyno restarts on heroku). Been having a real headache trying to figure out a viable deployment technique. I've recently switched to AWS to get around this (no dyno restarts)

from grav-plugin-git-sync.

trakoczi avatar trakoczi commented on May 12, 2024

For local development I have config files under the localdev domain in /user, including the Git-Sync YAML file, like /user/mydev.local/config/plugins/git-sync.yaml

It would be great if I could do a clean deployment by taking this config file as sync parameter and then have my custom settings in effect without having to go to the Grav admin panel and initilaize content under /user/pages that way.

Edit: I'd like to keep production content on master branch and use develop or test or any other branch for testing stuff...

from grav-plugin-git-sync.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.