mirror of
https://github.com/unraid/api.git
synced 2025-12-31 05:29:48 -06:00
fix: don't mv deploy on prod release
This commit is contained in:
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
@@ -389,7 +389,7 @@ jobs:
|
||||
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 ./deploy ./deploy-prod
|
||||
cp -r ./deploy ./deploy-prod
|
||||
fi
|
||||
|
||||
BASE_URL="https://preview.dl.unraid.net/unraid-api"
|
||||
|
||||
@@ -4,7 +4,7 @@ import { AuthActionVerb, AuthPossession, UsePermissions } from 'nest-authz';
|
||||
|
||||
import type { AllowedOriginInput } from '@app/graphql/generated/api/types.js';
|
||||
import { getAllowedOrigins } from '@app/common/allowed-origins.js';
|
||||
import { Config, ConfigErrorState, Resource } from '@app/graphql/generated/api/types.js';
|
||||
import { Config, Resource } from '@app/graphql/generated/api/types.js';
|
||||
import { getters, store } from '@app/store/index.js';
|
||||
import { updateAllowedOrigins } from '@app/store/modules/config.js';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user