This action makes automatic updates, deploys and releases to maestro, without the need for manual implementations.
It is possible to push an update to a specific branch or always upload a new version when a release is released in the project, it gives creativity and necessity.
name: Botcity Action
on: push
jobs:
BotCity:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
with:
fetch-depth: 0
- name: BotCity Action
uses: botcity-dev/[email protected]
with:
update: true
deploy: false
release: false
version: 'v1.0'
botId: 'botcityAction'
technology: 'python'
botPath: './bot.zip'
env:
LOGIN: ${{ secrets.LOGIN }}
SERVER: ${{ secrets.SERVER }}
KEY: ${{ secrets.KEY }}
Input | Description | Default |
---|---|---|
technology |
Technology used in the Bot. (Python, Java, Javascript, Typescript or Command. | Required |
botPath |
Compressed file path. (zip or tar.gz) | Required |
update |
Run update in Maestro. | false |
deploy |
Execute deploy in Maestro. | false |
release |
Release version to bot in Maestro | false |
version |
Version of the action to run. If version is not set, the latest version is used in update. It is necessary to pass the version when performing deploy and release. |
None |
repositoryLabel |
This is the repository used at BotCity Orchestrator. Only use in Deploy. | DEFAULT |
If you have questions or comments in general about the plugin, we want to know.
You can choose between the channels the one that best fit you:
- Forum BotCity Community (Public)
- Slack BotCity Community (Public)
Please use the issue tracker to report any bugs or file feature requests. Developing
Ready to contribute with code submissions and pull requests (PRs)? Here's how to set up BotCity action for local development.
- Fork the repo
- Clone the fork botcity-action repo locally
git clone [email protected]:botcity-dev/botcity-action.git
- Create a branch for local development:
git checkout -b <name-of-your-branch>
- Run command in source:
make dev
- Verify changes locally run tests and linters:
make test
make format-code
make lint
- Now you can make your changes locally.
git add .
git commit -m "Description of the changes goes here"
git push --set-upstream origin <name-of-your-branch>
- It is only necessary to follow the template to create the pull request.
To learn more about the code of conduct, access the following documentation.