Skip to content

Commit 077525e

Browse files
committed
rework-main-job-deploy
1 parent 1601222 commit 077525e

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

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

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -59,13 +59,8 @@ 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 }}"
62+
- name: Setup Environment
63+
uses: ./.github/actions/setup-environment
6964

7065
- name: Get PR Number for Push Event
7166
if: github.event_name == 'push'

0 commit comments

Comments
 (0)