Skip to content

Commit

Permalink
chore: update deploy workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Whipstickgostop committed Sep 25, 2024
1 parent 5a9c777 commit 55e6dc6
Showing 1 changed file with 7 additions and 12 deletions.
19 changes: 7 additions & 12 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,23 +25,18 @@ jobs:
# Build job
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20]

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 8
- name: Enable Corepack
run: corepack enable

- name: Setup Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
node-version: 20
cache: pnpm

- name: Setup node-gyp
Expand All @@ -68,7 +63,7 @@ jobs:
run: pnpm --filter @streamerbot/client-docs generate

- name: Upload artifact
uses: actions/upload-pages-artifact@v1
uses: actions/upload-pages-artifact@v3
with:
path: ./apps/docs/.output/public

Expand All @@ -82,4 +77,4 @@ jobs:
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
uses: actions/deploy-pages@v4

0 comments on commit 55e6dc6

Please sign in to comment.