Uploads a plugin CI artifact to a Mattermost server. You can modify the plugin-install-gh-artifact.sh
how you see fit, to connect with your MM admin account.
First you'll need to install and configure the GitHub CLI tool https://cli.github.com
Usage:
./plugin-install-gh-artifact.sh (MM site URL) (actions workflow run URL)
./plugin-install-gh-artifact.sh https://app-rhs-view-builder.test.mattermost.cloud https://github.com/mattermost/mattermost-plugin-jira/actions/runs/6112604241
Go to a PR's CI checks, and copy the URL from the ci / plugin-ci / build (pull_request)
job. Use this value as the actions workflow run URL
parameter above.
@mickmister For using the alias
mmctl
in the script, we should write it as$mmctl
otherwise, on Ubuntu, it gives the errormmctl: command not found
.Not sure about how it behaves on mac.