Skip to content

Commit 1601222

Browse files
committed
rework-main-job-deploy
1 parent 83cacaf commit 1601222

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/deploy-to-control-plane.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,14 @@ jobs:
5959
6060
echo "All required secrets and variables are set"
6161
62+
- name: Install Control Plane CLI
63+
run: |
64+
curl -L https://github.com/controlplane-com/cli/releases/latest/download/cpln-linux-amd64.tar.gz | tar xz
65+
sudo mv cpln /usr/local/bin/
66+
curl -L https://github.com/controlplane-com/cpln-cli-flow/releases/latest/download/cpflow-linux-amd64.tar.gz | tar xz
67+
sudo mv cpflow /usr/local/bin/
68+
cpln auth token "${{ env.CPLN_TOKEN }}"
69+
6270
- name: Get PR Number for Push Event
6371
if: github.event_name == 'push'
6472
id: get-pr

0 commit comments

Comments
 (0)