mirror of
https://github.com/unraid/api.git
synced 2026-01-01 06:01:18 -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
|
if [ "${{ needs.release-please.outputs.releases_created }}" == 'true' ]; then
|
||||||
BASE_URL="https://stable.dl.unraid.net/unraid-api"
|
BASE_URL="https://stable.dl.unraid.net/unraid-api"
|
||||||
pnpm run build:plugin --tag="${TAG}" --base-url="${BASE_URL}"
|
pnpm run build:plugin --tag="${TAG}" --base-url="${BASE_URL}"
|
||||||
mv ./deploy ./deploy-prod
|
cp -r ./deploy ./deploy-prod
|
||||||
fi
|
fi
|
||||||
|
|
||||||
BASE_URL="https://preview.dl.unraid.net/unraid-api"
|
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 type { AllowedOriginInput } from '@app/graphql/generated/api/types.js';
|
||||||
import { getAllowedOrigins } from '@app/common/allowed-origins.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 { getters, store } from '@app/store/index.js';
|
||||||
import { updateAllowedOrigins } from '@app/store/modules/config.js';
|
import { updateAllowedOrigins } from '@app/store/modules/config.js';
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user