From 70cd64278600d282282c198ca4e794c731792ca5 Mon Sep 17 00:00:00 2001 From: Serhii Chernenko Date: Mon, 27 Jan 2025 12:45:38 +0100 Subject: [PATCH] test deploy --- .github/workflows/nuxthub.yml | 37 ----------------------------- .husky/pre-commit | 2 +- src/layers/core/data/nuxt.config.ts | 5 ++++ 3 files changed, 6 insertions(+), 38 deletions(-) delete mode 100644 .github/workflows/nuxthub.yml diff --git a/.github/workflows/nuxthub.yml b/.github/workflows/nuxthub.yml deleted file mode 100644 index 82f69ef..0000000 --- a/.github/workflows/nuxthub.yml +++ /dev/null @@ -1,37 +0,0 @@ -name: Deploy to NuxtHub -on: push - -jobs: - deploy: - name: "Deploy to NuxtHub" - runs-on: ubuntu-latest - environment: - name: ${{ github.ref == 'refs/heads/main' && 'production' || 'preview' }} - url: ${{ steps.deploy.outputs.deployment-url }} - permissions: - contents: read - id-token: write - - steps: - - uses: actions/checkout@v4 - - - name: Enable Corepack - run: corepack enable - - - name: Install Node.js - uses: actions/setup-node@v4 - with: - node-version: 22 - cache: 'npm' - - - name: Install dependencies - run: npm install - - - name: Build application - run: npm run build - - - name: Deploy to NuxtHub - uses: nuxt-hub/action@v1 - id: deploy - with: - project-key: nuxthub-issue-bygv diff --git a/.husky/pre-commit b/.husky/pre-commit index 3867a0f..3932801 100644 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1 +1 @@ -npm run lint +npm run format diff --git a/src/layers/core/data/nuxt.config.ts b/src/layers/core/data/nuxt.config.ts index 36a233a..1fd4118 100644 --- a/src/layers/core/data/nuxt.config.ts +++ b/src/layers/core/data/nuxt.config.ts @@ -6,4 +6,9 @@ export default defineNuxtConfig({ hub: { kv: true, }, + $development: { + hub: { + remote: true + } + } })