forked from CFPAOrg/Modpack-GuideBook-i18n
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
49 lines (33 loc) · 795 Bytes
/
appveyor.yml
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
44
45
46
47
48
49
version: 1.0.{build}
image: Ubuntu1804
init:
- sh: >-
nvm install 10.15.2
npm install -g yarn
# sudo apt-get -y install python3-pip
clone_script:
- sh: git clone --recursive https://github.com/CFPAOrg/Modpack-GuideBook-i18n
install:
- sh: >-
cd Modpack-GuideBook-i18n
# sudo pip3 install -r requirements.txt
cd page
yarn
build_script:
- sh: >-
cd ..
# python3 main.py
cd page
cp ../data.json ./static/data.json
yarn build
test: off
deploy_script:
- sh: >-
cd dist
ls
git config --global user.email "[email protected]"
git config --global user.name "baka943"
git init
git add .
git commit -m 'AppVeyor自动部署 '
git push --force --quiet "https://dt_41azGL:${CO_TOKEN}@${CO_REF}" master:master