mirror of
https://github.com/unraid/api.git
synced 2025-12-31 05:29:48 -06:00
fix: ordering in build script
This commit is contained in:
3
.github/workflows/main.yml
vendored
3
.github/workflows/main.yml
vendored
@@ -390,10 +390,11 @@ jobs:
|
||||
# On release, build both prod and preview plugins
|
||||
if [ "${{ needs.release-please.outputs.releases_created }}" == 'true' ]; then
|
||||
BASE_URL="https://stable.dl.unraid.net/unraid-api"
|
||||
pnpm run build:plugin --tag="${TAG}" --base-url="${BASE_URL}"
|
||||
mv ${{ github.workspace }}/plugin/deploy ${{ github.workspace }}/plugin/deploy-prod
|
||||
mkdir -p ${{ github.workspace}}/plugin/deploy
|
||||
cp ${{ github.workspace }}/plugin/dynamix.unraid.net.txz ${{ github.workspace }}/plugin/deploy/
|
||||
pnpm run build:plugin --tag="${TAG}" --base-url="${BASE_URL}"
|
||||
|
||||
fi
|
||||
|
||||
BASE_URL="https://preview.dl.unraid.net/unraid-api"
|
||||
|
||||
Reference in New Issue
Block a user