Skip to content

Commit 9eecb0b

Browse files
committed
docs: add ci for feakin
1 parent 055285f commit 9eecb0b

File tree

2 files changed

+33
-0
lines changed

2 files changed

+33
-0
lines changed

.github/workflows/pages.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Pages
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
jobs:
9+
pages:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v2
13+
- name: Use Node.js 16.x
14+
uses: actions/setup-node@v2
15+
with:
16+
node-version: '16'
17+
- name: Cache NPM dependencies
18+
uses: actions/cache@v2
19+
with:
20+
path: node_modules
21+
key: ${{ runner.OS }}-npm-cache
22+
restore-keys: |
23+
${{ runner.OS }}-npm-cache
24+
- name: Install Dependencies
25+
run: npm install
26+
- name: Build
27+
run: npm run build
28+
- name: Deploy
29+
uses: peaceiris/actions-gh-pages@v3
30+
with:
31+
github_token: ${{ secrets.GITHUB_TOKEN }}
32+
publish_dir: ./public

CNAME

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
blog.feakin.com

0 commit comments

Comments
 (0)