-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (33 loc) · 849 Bytes
/
topic.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: topic-ci
on:
pull_request:
branches: [ master ]
workflow_dispatch:
jobs:
Lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: install
run: npm i --legacy-peer-deps
- name: lint
run: npm run lint
Build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: install
run: npm i --legacy-peer-deps
- name: build
run: npm run build
env:
BASE_PATH: /
- name: create .nojekyll
run: touch .output/public/.nojekyll
- name: deploy pages
uses: JamesIves/github-pages-deploy-action@v4.5.0
with:
# ACCESS_TOKEN: ${{ secrets.DEMO_REPO_ACCESS_TOKEN }}
branch: gh-pages
folder: .output/public
# repository-name: zodiac-G12/demo