Skip to content

Commit

Permalink
Update render-deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
StephenBarlow authored Dec 20, 2024
1 parent c32fa7e commit d7b8d99
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/render-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit d7b8d99

Please sign in to comment.