Skip to content

Commit

Permalink
build: custom build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jpwallace22 committed Dec 9, 2023
1 parent 5b6c6eb commit 05bf0bd
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,22 @@ permissions:

jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout your repository using git
uses: actions/checkout@v3
- name: Install, build, and upload your site
uses: withastro/action@v1
- uses: actions/checkout@v3
- run: echo "NODE_VERSION=$(cat .nvmrc)" >> $GITHUB_ENV

- name: 'use node ${{ env.NODE_VERSION }}'
uses: actions/setup-node@v3
with:
node-version: '${{ env.NODE_VERSION }}'

- name: Install dependencies
run: yarn install --frozen-lockfile

- name: Build docs
run: yarn docs build

deploy:
needs: build
Expand Down

0 comments on commit 05bf0bd

Please sign in to comment.