Skip to content

Commit 7dbc8ad

Browse files
author
litongjava
committed
change deploy of github action
1 parent 8ff4594 commit 7dbc8ad

File tree

2 files changed

+21
-16
lines changed

2 files changed

+21
-16
lines changed

.github/workflows/vuepress-deploy.yml

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Build and Deploy
2+
on:
3+
push:
4+
branches: ["main"]
5+
pull_request:
6+
branches: ["main"]
7+
jobs:
8+
build-and-deploy:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Checkout
12+
uses: actions/checkout@master
13+
14+
- name: vuepress-deploy
15+
uses: jenkey2011/vuepress-deploy@master
16+
env:
17+
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
18+
TARGET_REPO: litongjava/tio-boot-docs
19+
TARGET_BRANCH: gh-pages
20+
BUILD_SCRIPT: yarn && yarn build
21+
BUILD_DIR: docs/.vuepress/dist

.travis.yml

-16
This file was deleted.

0 commit comments

Comments
 (0)