Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,21 @@

- name: Install Render CLI
shell: bash
env:
CLI_VERSION: ${{ inputs.cli-version }}
run: |
curl -fsSL https://raw.githubusercontent.com/render-oss/cli/refs/tags/v${{ inputs.cli-version }}/bin/install.sh | sh
curl -fsSL "https://raw.githubusercontent.com/render-oss/cli/refs/tags/v${CLI_VERSION}/bin/install.sh" -o install-render-cli.sh

Check warning on line 32 in action.yaml

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Not enforcing HTTPS here might allow for redirections to insecure websites. Make sure it is safe here.

See more on https://sonarcloud.io/project/issues?id=sws2apps_render-deployment&issues=AaC5Bhr0O-ret85y8OqW&open=AaC5Bhr0O-ret85y8OqW&pullRequest=348
sh install-render-cli.sh
rm -f install-render-cli.sh

- name: Trigger deploy with Render CLI
shell: bash
env:
RENDER_API_KEY: ${{ inputs.apiKey }}
SERVICE_ID: ${{ inputs.serviceId }}
CI: true
run: |
render deploys create ${{ inputs.serviceId }} --output text --confirm --wait
render deploys create "$SERVICE_ID" --output text --confirm --wait

branding:
icon: 'play-circle'
Expand Down
Loading