From 43ec0a46627993f90ecaed8dbaec85caaca3e183 Mon Sep 17 00:00:00 2001 From: Aaron Crawfis Date: Fri, 29 Mar 2024 08:42:35 -0700 Subject: [PATCH] Upmerge 2024-03-28 (#1098) * Update docs for v0.32.0 * Update environment logic (#1097) Signed-off-by: Aaron Crawfis --------- Signed-off-by: Aaron Crawfis Co-authored-by: Radius CI Bot --- .github/workflows/website.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/website.yaml b/.github/workflows/website.yaml index e44841216..befc329d2 100644 --- a/.github/workflows/website.yaml +++ b/.github/workflows/website.yaml @@ -119,8 +119,8 @@ jobs: needs: ['build'] runs-on: ubuntu-latest environment: - # If a PR into edge, use 'edge'. If a PR into anywhere else, use 'latest'. If a push, use the branch name. - name: ${{ github.event_name == 'pull_request' && (github.base_ref == 'edge' && 'edge' || 'latest') || github.ref_name }} + # If a PR or push into edge, use 'edge'. If a PR or push into anywhere else, use 'latest'. + name: ${{ github.event_name == 'pull_request' && (github.base_ref == 'edge' && 'edge' || 'latest') || (github.ref_name == 'edge' && 'edge' || 'latest') }} # If a push to edge, use the edge URL. If a push to anywhere else, use the latest URL. If a PR, blank. url: ${{ github.event_name == 'pull_request' && '' || (github.ref_name == 'edge' && 'https://edge.docs.radapp.io' || 'https://docs.radapp.io') }} steps: