Skip to content
upload

GitHub Action

Managed WooCommerce Stores Deploy

v1 Latest version

Managed WooCommerce Stores Deploy

upload

Managed WooCommerce Stores Deploy

Deploy apps to Managed WooCommerce Stores

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Managed WooCommerce Stores Deploy

uses: godaddy-wordpress/mwcs-deploy-action@v1

Learn more about this action in godaddy-wordpress/mwcs-deploy-action

Choose a version

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