Skip to content

Commit

Permalink
pull out docs from typical ci build (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
tsotimus authored Mar 21, 2024
1 parent e51fbdc commit 4b0e0c7
Showing 1 changed file with 17 additions and 7 deletions.
24 changes: 17 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,22 @@ on:
branches: [main]

jobs:
build_docs:
name: Build docs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: npm ci
- name: Build Documentation Site
run: npm run docs:build
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./apps/docs/out

build_and_test:
name: "Build and Test"
runs-on: ubuntu-latest
Expand Down Expand Up @@ -41,12 +57,6 @@ jobs:
name: playwright-report
path: playwright-report/
retention-days: 30
- name: Build Documentation Site
run: npm run docs:build
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./apps/docs/out


publish:
Expand Down Expand Up @@ -93,7 +103,7 @@ jobs:

deploy:
runs-on: ubuntu-latest
needs: build_and_test
needs: build_docs
permissions:
contents: read
pages: write
Expand Down

0 comments on commit 4b0e0c7

Please sign in to comment.