From 6be0e057e6f59366456e96ac6ec7784d70e49e2c Mon Sep 17 00:00:00 2001 From: Paul Leclercq Date: Tue, 28 Nov 2023 11:49:09 +0100 Subject: [PATCH] =?UTF-8?q?wip:=20access=20up=C3=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/scaleway-down.yml | 2 +- .github/workflows/scaleway-up.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/scaleway-down.yml b/.github/workflows/scaleway-down.yml index f2a3b4ad0..0c27a6f04 100644 --- a/.github/workflows/scaleway-down.yml +++ b/.github/workflows/scaleway-down.yml @@ -21,7 +21,7 @@ jobs: args: container container list name=${{ secrets.CONTAINER_NAME }} --output json - name: Get CONTAINER_ID env var - run: echo CONTAINER_ID=$(cat "${GITHUB_WORKSPACE}/scw.output" | jq -r '.id') + run: echo CONTAINER_ID=$(cat "${GITHUB_WORKSPACE}/scw.output" | jq -r '.[0].id') - name: 0 instances uses: jawher/action-scw@v2.24.0 diff --git a/.github/workflows/scaleway-up.yml b/.github/workflows/scaleway-up.yml index 1acdd4738..f09f02c3e 100644 --- a/.github/workflows/scaleway-up.yml +++ b/.github/workflows/scaleway-up.yml @@ -21,7 +21,7 @@ jobs: args: container container list name=${{ secrets.CONTAINER_NAME }} --output json - name: Get CONTAINER_ID env var - run: echo CONTAINER_ID=$(cat "${GITHUB_WORKSPACE}/scw.output" | jq -r '.id') + run: echo CONTAINER_ID=$(cat "${GITHUB_WORKSPACE}/scw.output" | jq -r '.[0].id') - name: start 1 instances uses: jawher/action-scw@v2.24.0