Skip to content

Commit

Permalink
Update Steve API environment variable
Browse files Browse the repository at this point in the history
Signed-off-by: Phillip Rak <[email protected]>
  • Loading branch information
rak-phillip committed Feb 22, 2022
1 parent c74a15b commit 84e8d78
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release-rancher-desktop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ env:
OUTPUT_DIR: dist
RELEASE_DIR: release
ARTIFACT_NAME: rancher-dashboard-desktop-embed
API: https://127.0.0.1:9443
STEVE_API: "https://127.0.0.1:9443"

jobs:
build:
Expand All @@ -28,7 +28,7 @@ jobs:
run: |
mkdir ${{ env.RELEASE_DIR }}
yarn install --frozen-lockfile
NUXT_ENV_commit=${GITHUB_SHA} NUXT_ENV_version=${GITHUB_REF_NAME} OUTPUT_DIR=${{ env.OUTPUT_DIR }}/${{ env.ARTIFACT_NAME }} API={{ env.API }} RESOURCE_BASE={{ env.API }} ROUTER_BASE='/dashboard' RANCHER_ENV=desktop yarn run build --spa
NUXT_ENV_commit=${GITHUB_SHA} NUXT_ENV_version=${GITHUB_REF_NAME} OUTPUT_DIR=${{ env.OUTPUT_DIR }}/${{ env.ARTIFACT_NAME }} API={{ env.STEVE_API }} RESOURCE_BASE={{ env.STEVE_API }} ROUTER_BASE='/dashboard' RANCHER_ENV=desktop yarn run build --spa
tar -czf ${{ env.RELEASE_DIR }}/${{ env.ARTIFACT_NAME }}.tar.gz -C ${{ env.OUTPUT_DIR }}/${{ env.ARTIFACT_NAME }} .
sha512sum ${{ env.RELEASE_DIR }}/${{ env.ARTIFACT_NAME }}.tar.gz > ${{ env.RELEASE_DIR }}/${{ env.ARTIFACT_NAME }}.tar.gz.sha512sum
Expand Down

0 comments on commit 84e8d78

Please sign in to comment.