A GitHub Action that downloads the specified release artifact from the GitHub repository and uploads it to the MuleSoft CloudHub runtime environment.
Add the following steps in your workflow:
- uses: invitation-homes/mulesoft-deploy-action@main
with:
release-tag: "1.0.0"
cloudhub-env: "dev"
cloudhub-app-name: "salesforce-marketing-cloud-dev"
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
CLOUDHUB_USER: ${{secrets.MULESOFT_DEPLOY_USERNAME }}
CLOUDHUB_PASSWORD: ${{secrets.MULESOFT_DEPLOY_PASSWORD }}
When updating this GitHub action to add functionality or fix an issue:
- Make the necessary changes in
index.js
- Run
yarn && yarn build
to build a newdist/index.js
file - Commit both files
This code is made available under the MIT license.