Skip to content

Commit 76099b0

Browse files
authored
Create main.yml
1 parent e547b97 commit 76099b0

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/main.yml

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Build and Deploy
2+
on: [push]
3+
jobs:
4+
build-and-deploy:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- name: Checkout
8+
uses: actions/checkout@master
9+
10+
- name: vuepress-deploy
11+
uses: jenkey2011/vuepress-deploy@master
12+
env:
13+
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
14+
TARGET_REPO: MimisK13/snippets
15+
TARGET_BRANCH: gh-pages
16+
BUILD_SCRIPT: yarn && yarn docs:build
17+
BUILD_DIR: docs/.vuepress/dist
18+
# CNAME: https://www.xxx.com

0 commit comments

Comments
 (0)