Giter Site home page Giter Site logo

WP Shuttle Logo

WP Shuttle for Automatic Plugin Deployments

Getting Started

  1. Add wpsh/wpsh as a developer dependency to your project:

     $ npm install --save-dev wpsh/wpsh
    

    Run npm init if your project is missing the package.json file.

  2. Add wpsh to the scripts section of the package.json file:

     "scripts": {
       "wpsh": "wpsh"
     }
    
  3. Use npm run wpsh to run the WP Shuttle script.

To run it as wpsh instead of npm run wpsh you should add path to the local npm bin folder to the $PATH environment variable by appending the following to ~/.bashrc or ~/.zshrc:

export PATH="./node_modules/.bin:$PATH"

and restart the shell to trigger the change.

Automatic Deployments with Travis CI

  1. Update the Travis CI config .travis.yml to deploy your plugin when committing to master and tagging a release:

     deploy:
       - provider: script
         script: npm run wpsh $TRAVIS_TAG
         on:
           tags: true
       - provider: script
         script: npm run wpsh trunk
         on:
           branch: master
    
  2. Specify the following environment variables in the Travis CI repository settings for deploying to the WordPress plugin SVN repository:

    • WP_ORG_SLUG
    • WP_ORG_USERNAME
    • WP_ORG_PASSWORD
  3. Use .svnignore to exclude files and folders from the deployment.

WP Shuttle's Projects

go-tide icon go-tide

:ocean: Tide is a series of automated tests run against the WordPress.org directory.

releaselog icon releaselog

Automatically generate changelog from GitHub releases

to-wp-txt icon to-wp-txt

Convert Markdown to WordPress readme.txt format

wp-cli-replicator icon wp-cli-replicator

Replicate production websites from WordPress eXtended RSS (WXR) export files

wpcs-for-envato icon wpcs-for-envato

Unofficial PHP coding standards for WordPress theme and plugins sold on ThemeForest and CodeCanyon

wpsh icon wpsh

Deployment tools for WordPress plugins and themes

wpsh-local icon wpsh-local

Create virtual development environment using Docker Compose inside Vagrant.

wpsh.org icon wpsh.org

Source of the WP Shuttle project website

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.