mirror of
https://github.com/versia-pub/docs.git
synced 2025-12-06 14:28:20 +01:00
Update packages and Actions tooling
This commit is contained in:
parent
33cd650ad5
commit
aa3dce27ad
6
.github/workflows/deploy.yml
vendored
6
.github/workflows/deploy.yml
vendored
|
|
@ -29,13 +29,13 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0 # Not needed if lastUpdated is not enabled
|
fetch-depth: 0 # Not needed if lastUpdated is not enabled
|
||||||
# - uses: pnpm/action-setup@v2 # Uncomment this if you're using pnpm
|
# - uses: pnpm/action-setup@v2 # Uncomment this if you're using pnpm
|
||||||
- uses: oven-sh/setup-bun@v1 # Uncomment this if you're using Bun
|
- uses: oven-sh/setup-bun@v1 # Uncomment this if you're using Bun
|
||||||
- name: Setup Pages
|
- name: Setup Pages
|
||||||
uses: actions/configure-pages@v3
|
uses: actions/configure-pages@v4
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: bun install
|
run: bun install
|
||||||
- name: Build with VitePress
|
- name: Build with VitePress
|
||||||
|
|
@ -43,7 +43,7 @@ jobs:
|
||||||
bun run docs:build
|
bun run docs:build
|
||||||
touch .vitepress/dist/.nojekyll
|
touch .vitepress/dist/.nojekyll
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-pages-artifact@v2
|
uses: actions/upload-pages-artifact@v3
|
||||||
with:
|
with:
|
||||||
path: .vitepress/dist
|
path: .vitepress/dist
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,6 @@
|
||||||
"docs:preview": "vitepress preview"
|
"docs:preview": "vitepress preview"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"vitepress": "^1.0.0-rc.31"
|
"vitepress": "1.0.0-rc.45"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Loading…
Reference in a new issue