https://github.com/godaddy-wordpress/mwcs-deploy-action
Github Action for use in Workflows to deploy to GoDaddy Managed WooCommerce Stores
https://github.com/godaddy-wordpress/mwcs-deploy-action
Last synced: 9 months ago
JSON representation
Github Action for use in Workflows to deploy to GoDaddy Managed WooCommerce Stores
- Host: GitHub
- URL: https://github.com/godaddy-wordpress/mwcs-deploy-action
- Owner: godaddy-wordpress
- License: mit
- Created: 2022-11-09T16:53:44.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-11-14T23:14:49.000Z (over 3 years ago)
- Last Synced: 2025-09-19T17:09:37.999Z (10 months ago)
- Language: Shell
- Size: 21.5 KB
- Stars: 1
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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
```