Skip to content

Commit b1c7a59

Browse files
committed
main
1 parent 97f1e4e commit b1c7a59

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,23 @@
11
# Sample workflow for building and deploying a VitePress site to GitHub Pages
22
#
33
name: Deploy VitePress site to Pages
4-
54
on:
65
# Runs on pushes targeting the `main` branch. Change this to `master` if you're
76
# using the `master` branch as the default branch.
87
push:
98
branches: [main]
10-
119
# Allows you to run this workflow manually from the Actions tab
1210
workflow_dispatch:
13-
1411
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
1512
permissions:
1613
contents: read
1714
pages: write
1815
id-token: write
19-
2016
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
2117
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
2218
concurrency:
2319
group: pages
2420
cancel-in-progress: false
25-
2621
jobs:
2722
# Build job
2823
build:
@@ -53,10 +48,9 @@ jobs:
5348
env:
5449
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5550
- name: Upload artifact
56-
uses: actions/upload-pages-artifact@v2
51+
uses: actions/upload-pages-artifact@v3
5752
with:
5853
path: docs/.vitepress/dist
59-
6054
# Deployment job
6155
deploy:
6256
environment:

0 commit comments

Comments
 (0)