Skip to content
Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Latest commit

 

History

28 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mwcs-deploy-action

Github Action for use in Workflows to deploy to GoDaddy Managed WooCommerce Stores

Inputs

Name Requirement Description
MWCS_INTEGRATION_SECRET required Authentication token
MWCS_INTEGRATION_ID required Unique id for the integration
MWCS_APP_ID required Id of the app you want to deploy to
MWCS_DEPLOY_DEST required Set the subdirectory to deploy to. examples: /httpdocs, /httpdocs/wp-content/plugins/my-plugin
MWCS_WORKING_DIR optional The directory that you want deployed, based on the build files' path. example: "${{github.workspace}}"

Outputs

Example usage

on:
  push:
jobs:
  deploy:
    name: Deploy to My MWCS App
    runs-on: ubuntu-20.04
    steps:
      - name: Checkout repo
        uses: actions/checkout@v2
      - name: Run deploy
        uses: godaddy-wordpress/mwcs-deploy-action@v1
        with:
          MWCS_DEPLOY_DEST: "/httpdocs/wp-content/"
          MWCS_INTEGRATION_SECRET: ${{secrets.MWCS_INTEGRATION_SECRET}}
          MWCS_INTEGRATION_ID: ${{secrets.MWCS_INTEGRATION_ID}}
          MWCS_APP_ID: ${{secrets.MWCS_APP_ID}}
          MWCS_WORKING_DIR: "${{github.workspace}}" # use the files starting at the repository root

About

Github Action for use in Workflows to deploy to GoDaddy Managed WooCommerce Stores

Resources

Code of conduct

Security policy

Stars

3 stars

Watchers

4 watching

Forks

Releases

Packages

Used by

Contributors

Languages