Comments (9)
yes!
from deliver.
OK, so would you be putting the entire WP site directory under git or just specific dirs?
In my case, I prefer to have something like Chef or Puppet maintain the core CMS installation (be in WP or something else), my repo only containing the site's files. I'm thinking along the lines of a more generic deliver strategy (static sounds nice) where deliver doesn't care what it's pushing out. It can be just html stuff, or php (which doesn't normall require a web server restart).
Tell me what would make most sense for you and then I can work that in.
from deliver.
Is this dead? I would like a static/php delivery, I'm about to start on it myself.
from deliver.
If you put the whole Wordpress site under git, it works out of the box with the shared strategy. It's the most straightforward thing that you can do and it will just work:
Demi ➜ wordpress git:(master) HOSTS=apps.vagrant STRATEGY=shared deliver -V
BRANCH will be deprecated as of v0.8.0
SERVERS will be deprecated as of v0.8.0
DELIVERING WORDPRESS WITH SHARED STRATEGY
-----> Authorizing hosts
-----> Ensuring hosts are ready to accept git pushes
Initialized empty Git repository in /home/wordpress/app/.git/
-----> Pushing new commits with git to: [email protected]
Counting objects: 1124, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (1094/1094), done.
Writing objects: 100% (1124/1124), 4.95 MiB | 9.15 MiB/s, done.
Total 1124 (delta 70), reused 0 (delta 0)
To [email protected]:~wordpress/app
* [new branch] master -> master
-----> Resetting remote hosts to f7d61810c1af73eaaad26a753aadfd258b3ab8ea
HEAD is now at f7d6181 Initial commit
-----> Updating git submodules
-----> Setting file permissions
WORDPRESS DELIVERED!
from deliver.
I hadn't dug into your updates and code enough, I just quickly glanced through the issues list and caught the keyword 'wordpress' which is exactly what I am looking to do. I am right now working out setting this up. On a note so related note, can this system revert a delivery to a previous version or do I need to look to another system?
from deliver.
You revert a delivery by pushing an explicit version. The REFSPEC
can be any valid git reference, tag, branch or commit.
from deliver.
This has been implemented via the shared strategy
from deliver.
awesome! this tool is working out to be everything I need, great work team!
from deliver.
👍
from deliver.
Related Issues (20)
- Static assets pushed to separate hosts HOT 1
- Rename SERVERS to HOSTS HOT 1
- PORT variable doesn't work HOT 6
- error in git push HOT 6
- Host keys are breaking in git_submodules()
- Authorize remote hosts explicitly
- Authorizing multiple hosts on initial deliver freezes HOT 1
- SIGINT during git push does not stop gracefully HOT 1
- Option to sync / check git remote parity before deliver HOT 1
- Generated strategy tries to push wrong revision HOT 1
- Illumos / smf support HOT 1
- Deliver requires /usr/bin/sh to be bash HOT 1
- Foreman, exports and init control HOT 1
- foreman export upstart tmp HOT 2
- bug in launch HOT 1
- tag v0.8.0 HOT 2
- Timeout during npm install HOT 4
- Does deliver support rollback? HOT 1
- Staging / Testing HOT 1
- Request: make it installable through npm HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from deliver.