Skip to content

Commit 2a44835

Browse files
authored
Create deploy.yml
1 parent a0016d7 commit 2a44835

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Deploy VuePress Site
2+
3+
on:
4+
push:
5+
branches:
6+
- master # Change this to your default branch
7+
8+
jobs:
9+
build-deploy:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- name: Checkout code
14+
uses: actions/checkout@v3
15+
16+
- name: Deploy to GitHub Pages
17+
uses: peaceiris/actions-gh-pages@v3
18+
with:
19+
github_token: ${{ secrets.GITHUB_TOKEN }}
20+
publish_dir: docs/.vuepress/dist

0 commit comments

Comments
 (0)