fix: default to VITEMODE=nightly (#4552)

Co-authored-by: Caleb-T-Owens
This commit is contained in:
Nico Domino 2024-07-31 10:40:10 +02:00 committed by GitHub
parent 0c7b2bd881
commit 4c7b92be7b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -46,11 +46,9 @@ jobs:
shell: bash
if: ${{ !github.event.workflow_run }}
run: |
VITEMODE=development
VITEMODE=nightly
if [[ "${{ github.event.inputs.channel }}" == "release" ]]; then
VITEMODE=production
elif [[ "${{ github.event.inputs.channel }}" == "nightly" ]]; then
VITEMODE=nightly
fi
echo "vitemode=$VITEMODE" >> $GITHUB_ENV