Skip to content

litefeel/deploy2wp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 

Repository files navigation

deploy2wp

Automatically deploy your plugin or theme to WordPress.

Github is so popular. Now, use this tool, you can write plugins or themes of wordpress on github, and automatically deployed to wordpress.

How to use?

1. import your wordpress repository to Github

GitHub Importer will help you import your svn repository to Github

2. add .yml file

copy blow code in .travis.yml file, and put your github repository root dictionary.

language: php
os:
  - linux

# deploy master to svn truck
# env: DEPLOYMASTER=1

script:
# - some other code
- git clone https://github.com/litefeel/deploy2wp.git
- sh deploy2wp/scripts/install.sh

after_success:
- deploy2wp/scripts/deploy2wp.sh

3. activity travis-ci service

  1. sign up Travis-ci
  2. access Travis Profile
  3. click Sync button to synchronous your repositories
  4. find your repositories and activit it.

4. set Environment Variables

  1. access https://travis-ci.org/$own/$repository/settings, please change $own to your github user name and $repository to your repository name.
  2. add SVN_USERNAME, SVN_PASSWORD, SVN_URL to Environment Variables

How to remove old submodule?

git submodule deinit deploy2wp
git rm deploy2wp
git rm --cached deploy2wp
rm -rf .git/modules/deploy2wp

About

Automatically deploy your plugin or theme to WordPress

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages