diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 8e9d828..5d606b1 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -28,15 +28,31 @@ jobs: steps: - name: Checkout uses: actions/checkout@v3 + + - name: Setup pnpm + uses: pnpm/action-setup@v2 + with: + version: 8 + - name: Setup Node uses: actions/setup-node@v3 with: node-version: "20" cache: pnpm + + - name: Create .env + uses: SpicyPizza/create-envfile@v2.0 + with: + envkey_NUXT_PUBLIC_SITE_URL: https://streamerbot.github.io + envkey_NUXT_HOST: 0.0.0.0 + envkey_NUXT_UI_PRO_LICENSE: ${{ secrets.NUXT_UI_PRO_LICENSE }} + - name: Install dependencies run: pnpm --filter @streamerbot/client-docs install - - name: Static HTML export with Nuxt + + - name: Build run: pnpm --filter @streamerbot/client-docs generate + - name: Upload artifact uses: actions/upload-pages-artifact@v1 with: diff --git a/apps/docs/nuxt.config.ts b/apps/docs/nuxt.config.ts index ffadfdf..43524e3 100755 --- a/apps/docs/nuxt.config.ts +++ b/apps/docs/nuxt.config.ts @@ -4,7 +4,6 @@ export default defineNuxtConfig({ modules: [ '@nuxt/ui', '@vueuse/nuxt', - '@nuxtjs/plausible', 'nuxt-og-image', 'nuxt-link-checker', 'nuxt-icon', diff --git a/apps/docs/package.json b/apps/docs/package.json index 1ec07d2..5f472e5 100755 --- a/apps/docs/package.json +++ b/apps/docs/package.json @@ -25,7 +25,6 @@ "@iconify-json/skill-icons": "^1.1.5", "@nuxt/devtools": "^1.0.5", "@nuxtjs/fontaine": "^0.4.1", - "@nuxtjs/plausible": "^0.2.4", "@streamerbot/client": "workspace:*", "@vueuse/nuxt": "^10.7.0", "nuxt": "^3.8.2", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 6778279..3d8e80f 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -60,9 +60,6 @@ importers: '@nuxtjs/fontaine': specifier: ^0.4.1 version: 0.4.1 - '@nuxtjs/plausible': - specifier: ^0.2.4 - version: 0.2.4 '@streamerbot/client': specifier: workspace:* version: link:../../packages/client @@ -3824,18 +3821,6 @@ packages: - supports-color dev: false - /@nuxtjs/plausible@0.2.4: - resolution: {integrity: sha512-9HrSl9ZGKS/7bULAt8uzAGo9BJyIZebzRSLQD8ZhiODaGyRdEQlgcJBw5JgUzjcC5n4T0ZlX3FC6C3Wyp7opgA==} - dependencies: - '@nuxt/kit': 3.9.0 - defu: 6.1.3 - pathe: 1.1.1 - plausible-tracker: 0.3.8 - transitivePeerDependencies: - - rollup - - supports-color - dev: true - /@nuxtjs/tailwindcss@6.10.3: resolution: {integrity: sha512-AXkfAW0RLbJfPtdw0QY6+1q+N0e9790zhu6t9DezEvHqfG0ajBSwDTvuu3P48hOcxZpY3PZ+j8N0LDTqCW9X8w==} dependencies: @@ -12967,11 +12952,6 @@ packages: dev: false optional: true - /plausible-tracker@0.3.8: - resolution: {integrity: sha512-lmOWYQ7s9KOUJ1R+YTOR3HrjdbxIS2Z4de0P/Jx2dQPteznJl2eX3tXxKClpvbfyGP59B5bbhW8ftN59HbbFSg==} - engines: {node: '>=10'} - dev: true - /playwright-core@1.40.1: resolution: {integrity: sha512-+hkOycxPiV534c4HhpfX6yrlawqVUzITRKwHAmYfmsVreltEl6fAZJ3DPfLMOODw0H3s1Itd6MDCWmP1fl/QvQ==} engines: {node: '>=16'}