-
Notifications
You must be signed in to change notification settings - Fork 2
35 lines (31 loc) · 1.63 KB
/
robocorp-deploy-dev.yml
File metadata and controls
35 lines (31 loc) · 1.63 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Python Automation testing and deploy example
# This template allows you to push your robot from your GitHub repository to your configured
# Control Room. This configuration will run an automation's unit tests via `rcc` as part of
# any pull request and deploy the project upon merge/commit to the Control Room depending
# on the configured environment.
# Prerequisites:
# You must configure the following variables within your GitHub repository settings:
# * `CR_ACCESS_CREDENTIALS`: This is the access token for your Control Room account and should be set
# as a repository secret. You can find this token in the Control Room UI under the user profile.
# * `CR_ENDPOINT_URL`: This is the API endpoint per the Control Room API helper for uploading a robot, it
# should be set as a repository variable.
# * `ROBOT_ID`: This is the ID of the robot within the Control Room Robot UI. You should set this for
# each environment you have configured.
# * `WORKSPACE_ID`: This is the workspace ID associated with the environment. You should set this for
# each environment you have configured.
# The `ROBOT_ID` and `WORKSPACE_ID` should be configured at the deployment level so each pipeline deploys
# to the correct Workspace environment.
#
# The robot in control room must be configured as a `robot file` type of robot.
# For more information on creating/getting these values in control room, check out https://robocorp.com/docs/rcc/workflow
name: Deploy to Dev Robocorp Control Room
on:
push:
branches:
- dev
jobs:
call-robocorp-deploy:
uses: ./.github/workflows/robocorp-deploy.yml
with:
environment: dev
secrets: inherit