Skip to content

Commit

Permalink
fix: action cannot find dist
Browse files Browse the repository at this point in the history
The withastro action runs the "build" script which I was originally
using to build the theme. This has been changed to accommodate astro.
  • Loading branch information
will-stone committed Sep 25, 2023
1 parent 46f67f5 commit bde3e3a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
1 change: 0 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ jobs:
- name: Install, build, and upload your site output
uses: withastro/action@v0
with:
node-version: 18
package-manager: bun

deploy:
Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@
"publisher": "will-stone",
"type": "module",
"scripts": {
"build": "bun ./src/index.ts",
"build": "bun --bun astro build",
"dev": "bun --bun astro dev",
"generate-theme": "bun ./src/index.ts",
"lint": "eslint .",
"prepare": "husky install",
"prerelease": "bun run build",
"release": "vsce publish",
"website-build": "bun --bun astro build",
"website-dev": "bun --bun astro dev"
"prerelease": "bun run generate-theme",
"release": "vsce publish"
},
"contributes": {
"themes": [
Expand Down

0 comments on commit bde3e3a

Please sign in to comment.