Skip to content

Commit

Permalink
fix: deploy script
Browse files Browse the repository at this point in the history
  • Loading branch information
Princesseuh committed Aug 11, 2024
1 parent 144ebe5 commit 35cf330
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 26 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout your repository using git
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Install, build, and upload your site
uses: withastro/action@v0
uses: withastro/action@v2
with:
node-version: latest
package-manager: pnpm
pnpm-version: 8.7.1
package-manager: [email protected]

deploy:
needs: build
Expand All @@ -36,4 +35,4 @@ jobs:
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
uses: actions/deploy-pages@v4
42 changes: 21 additions & 21 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
{
"name": "volar-docs",
"type": "module",
"version": "0.0.1",
"scripts": {
"dev": "astro dev",
"start": "astro dev",
"build": "astro build",
"preview": "astro preview",
"astro": "astro",
"format": "prettier -w --cache ."
},
"dependencies": {
"@astrojs/starlight": "^0.25.4",
"@expressive-code/plugin-collapsible-sections": "^0.35.6",
"@types/hast": "^3.0.4",
"astro": "^4.13.3",
"prettier": "^3.3.3",
"prettier-plugin-astro": "^0.14.1",
"sharp": "0.33.4"
},
"packageManager": "pnpm@8.7.1"
"name": "volar-docs",
"type": "module",
"version": "0.0.1",
"scripts": {
"dev": "astro dev",
"start": "astro dev",
"build": "astro build",
"preview": "astro preview",
"astro": "astro",
"format": "prettier -w --cache ."
},
"dependencies": {
"@astrojs/starlight": "^0.25.4",
"@expressive-code/plugin-collapsible-sections": "^0.35.6",
"@types/hast": "^3.0.4",
"astro": "^4.13.3",
"prettier": "^3.3.3",
"prettier-plugin-astro": "^0.14.1",
"sharp": "0.33.4"
},
"packageManager": "pnpm@8.12.0+sha512.279278f83be782f6faaefbacbccc503301c4ec2cdafd40983e7c26aeeee7c38270f5c8e635b43464691b897abe1675b40c06df6edadde922532b7368aa9a5267"
}

0 comments on commit 35cf330

Please sign in to comment.