From d7b8d99dc01a0d37d6c7671a1f83ddec5926980f Mon Sep 17 00:00:00 2001 From: Stephen Barlow Date: Fri, 20 Dec 2024 14:56:49 -0800 Subject: [PATCH] Update render-deploy.yml --- .github/workflows/render-deploy.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/render-deploy.yml b/.github/workflows/render-deploy.yml index 4bf21ba..c6bbf71 100644 --- a/.github/workflows/render-deploy.yml +++ b/.github/workflows/render-deploy.yml @@ -5,13 +5,14 @@ jobs: Deploy-Render: runs-on: ubuntu-latest steps: + # Downloads the Render CLI binary and adds it to the PATH. + # To prevent breaking changes in CI/CD, we pin to a + # specific CLI version (in this case 1.1.0). - name: Install Render CLI - # Download the Render CLI binary and add it to PATH - # Note that we install a specific CLI version to prevent breaking changes run: | - curl -L https://github.com/render-oss/cli/releases/download/v0.8.6/cli_0.8.6_linux_amd64.zip -o render.zip + curl -L https://github.com/render-oss/cli/releases/download/v1.1.0/cli_1.1.0_linux_amd64.zip -o render.zip unzip render.zip - sudo mv cli_v0.8.6 /usr/local/bin/render + sudo mv cli_v1.1.0 /usr/local/bin/render - name: Authorize Render CLI and trigger deploy env: RENDER_API_KEY: ${{ secrets.RENDER_API_KEY }}