Skip to content

Commit

Permalink
build: another go!
Browse files Browse the repository at this point in the history
  • Loading branch information
jpwallace22 committed Dec 9, 2023
1 parent 398a643 commit 99397a6
Show file tree
Hide file tree
Showing 47 changed files with 30 additions and 1,896 deletions.
20 changes: 19 additions & 1 deletion .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,24 @@ permissions:
id-token: write

jobs:
build:
name: Build 🛠️
runs-on: ubuntu-latest
steps:
- 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
run: yarn build

deploy:
environment:
name: github-pages
Expand All @@ -24,7 +42,7 @@ jobs:
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
path: './docs/build'
path: './docs/dist'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v3
Expand Down
1 change: 0 additions & 1 deletion docs/astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import tailwind from '@astrojs/tailwind';
export default defineConfig({
site: 'https://jpwallace22.github.io',
base: '/docs',
outDir: './build',
integrations: [
starlight({
title: 'Use React Workers',
Expand Down
32 changes: 0 additions & 32 deletions docs/build/404.html

This file was deleted.

This file was deleted.

1 change: 0 additions & 1 deletion docs/build/_astro/UseWorker.8Klh5SUZ.js

This file was deleted.

1 change: 0 additions & 1 deletion docs/build/_astro/UseWorkerFunc.HYTqviu1.js

This file was deleted.

1 change: 0 additions & 1 deletion docs/build/_astro/UseWorkerFunc.ZNz1XPaX.js

This file was deleted.

1 change: 0 additions & 1 deletion docs/build/_astro/UseWorkerState.m8x7DDeo.js

This file was deleted.

Loading

0 comments on commit 99397a6

Please sign in to comment.