https://github.com/robocorp/action-upload-robot
GitHub action to update a robot in Robocorp Cloud
https://github.com/robocorp/action-upload-robot
Last synced: about 1 year ago
JSON representation
GitHub action to update a robot in Robocorp Cloud
- Host: GitHub
- URL: https://github.com/robocorp/action-upload-robot
- Owner: robocorp
- License: apache-2.0
- Created: 2020-12-10T12:05:34.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-07-19T00:41:25.000Z (almost 3 years ago)
- Last Synced: 2025-04-22T22:05:52.517Z (about 1 year ago)
- Language: TypeScript
- Size: 577 KB
- Stars: 18
- Watchers: 10
- Forks: 4
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# GitHub action to update a robot in Robocorp Control Room
This GitHub Actions uploads a robot to Robocorp Control Room. It updates a robot existing in Control Room,
identified by `robot-id` option.
## Usage
### Example Workflow file
An example workflow file to update robot in Control Room:
```yaml
jobs:
upload-robot:
runs-on: ubuntu-latest
name: Upload robot
steps:
- name: Checkout files from repository
uses: actions/checkout@v2
- name: Upload robot to Control Room
uses: robocorp/action-upload-robot@v1
with:
workspace-key: ${{ secrets.ROBOCORP_WORKSPACE_KEY }}
workspace-id: ${{ secrets.ROBOCORP_WORKSPACE_ID }}
robot-id: ${{ secrets.ROBOCORP_ROBOT_ID }}
```
##### Configuration
| option | value | default | description |
| -------------- | ------- | ---------------------------- | ------------------------------------------ |
| workspace-id | string | | The workspace ID |
| workspace-key | string | | Workspace API key in target workspace |
| robot-id | string | | ID of the robot in Control Room |
| api-endpoint | string | https://api.eu1.robocloud.eu | Control Room API URL |
| robot-dir | string | ./ | Directory which to pack and upload |