Skip to content

Commit 680f877

Browse files
committed
ci: add workflows
1 parent 42122c7 commit 680f877

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Build and Deploy
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
jobs:
9+
build-and-deploy:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- name: Checkout
14+
uses: actions/checkout@v2
15+
16+
- name: Set up Node.js
17+
uses: actions/setup-node@v2
18+
with:
19+
node-version: '16'
20+
21+
- name: Install dependencies
22+
run: npm install
23+
24+
- name: Build
25+
run: npm run build
26+
27+
- name: Commit and push changes
28+
run: |
29+
git config --global user.name 'RuSaG0'
30+
git config --global user.email '[email protected]'
31+
git add docs/
32+
git commit -m "[auto] build: Update docs folder"
33+
git push

0 commit comments

Comments
 (0)