This repository has been archived by the owner on Oct 21, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
47 lines (45 loc) · 1.58 KB
/
.travis.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
language: generic
install:
- nvm use 11.0.0
- npm --version
- node --version
- mkdir ../backup
- mv * ../backup
- git clone https://github.com/ParNote-App/ParNote.git parnote-back-end
- cd parnote-back-end
- mv * ../
- cd ..
- rm -rf parnote-back-end
- ./gradlew build
- mkdir parnote-front-end
- mv ../backup/* parnote-front-end
- rm -rf ../backup
- cd parnote-front-end
- npm install
- npm run build
- cp -avr public ../public
- cd ..
- rm -rf parnote-front-end
- ls -a
- ls -a public
deploy:
# - provider: releases
# api_key:
# secure: YQvBAa0/WRhRUggddQQuGy5w88WhWk++VQ1lpaqyE3L2Z5jIiZa5I6u7t6IUah96q51eqyGDgTgzoC2UWm5Va5lQwqLPuiR5ZCUb+viuvBIBCD9sVRGhsYVDnOWslsYgdASKtyV3ca3SyFsj9KBkFNbcbcX/RR5oBnbxJimXTjmC6iFBEGhCsQMpUYFv4GB26rRpzVmg9Nm6tFS7pIE2+ogajoeVsmQoFIe82BdEcEY75qwjHTuderYuErbMyv1b9AzUsMGDiI8Hh/iWdap2q8ZfUqNFoIpnkuTk9UFwYSeHJpZSLq9yWuU76VgLwKHub+K3faGqwe5hAK+3tZIfyqg3pp2q2r5ytY5BLjPIalg8LlNr5uTKqhUZDH6uuRhOh06+sWAH9D6gT5hmFhr/6/zrqK/JwnRwPxy0mjmRCtieIivYlBbn9F4Xt/7DLeP1AnOmKPfbFRpmWAL5pkRvM4Fgq+upUB0QjlqQNBNwxQ+5zWbF72C4GZeSfVMQd78TVPcwtPkhJY7uP8o465EZVEeHAVgeXV9TDlx7YJw/9oiyfzkhtR8oiAPgILkw9Z30YrKvL78ZWsRt6kqj44IKUXZfhlQx5kpTX5+jt8DNbLf+86xmzhxIUWYfBe+11Fv6WrY0Zjy1EAPmhecZZ0mnjL9WlNbuO42Ja9SySTduL6U=
# on:
# repo: routve/routve
# branch: master
# skip_cleanup: true
- provider: releases
api_key: $GITHUB_API_KEY
on:
branch: dev
skip_cleanup: true
prerelease: "true"
- provider: heroku
skip_cleanup: true
api_key: $HEROKU_API_KEY
strategy: api
app: parnote
on:
branch: master