Skip to content

Commit

Permalink
update deploy workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Whipstickgostop committed Dec 30, 2023
1 parent 9abc4a5 commit 14514d4
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 23 deletions.
18 changes: 17 additions & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
1 change: 0 additions & 1 deletion apps/docs/nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ export default defineNuxtConfig({
modules: [
'@nuxt/ui',
'@vueuse/nuxt',
'@nuxtjs/plausible',
'nuxt-og-image',
'nuxt-link-checker',
'nuxt-icon',
Expand Down
1 change: 0 additions & 1 deletion apps/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
20 changes: 0 additions & 20 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 14514d4

Please sign in to comment.