-
Notifications
You must be signed in to change notification settings - Fork 4
/
.travis.yml
29 lines (29 loc) · 1.2 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
language: node_js
node_js:
- '14.17.0'
addons:
apt:
update: true
cache:
directories:
- $HOME/.cache/yarn
- $HOME/.npm
install:
- yarn
script:
- yarn build
after_success:
- cd ./public
- scp -o stricthostkeychecking=no -r ./* root@138.68.161.48:/home/wyyGatsby/
branches:
only:
- dev
- gatsby
env:
global:
- GH_REF: github.com/YuyingWu/blog.git
- secure: JrIweNd41qceQfloL1BbAl1XdjZb19Kd/GQFTuKUHMMJvhVkbYJokoY8ieMb1kRZZfyF3z5YjLr0nQG4HtlRWdR0pOmmTNqK1Fdgk7e+K5HVxcaLKOz0GqrT+qY3px3R4NwU6MKPoTbkY2Mp4FDpP7pNqioKk1RXwNKzOkfKl5eAXvu3/9DZorKSZTLBl64sAzIF09VWh0vP/Q6+97sOnJEI/qvCdp3K2NOkFE6B9OPEV9xDfdtASkB3ThpMd+QiHcCj1veAs4QXrSPgjzYmA1VP99WF7nz/EApraAsI2mrgOMdy7w/mVQaHqvcAAMQEIrx58ZTWLJIuGP9NF3v26+msPnAkcw8COR3v1M/tDmgM3Yb1ome8clrSmKpK+DnoX7mukdtDIFrUgJNo5KGKeLmcJSUIvyIN1FZWxzM60UD10vSQtGvmSFOXLGCdatYPGtPOQvjjklsv3yfe1Ixug8pD28TGR05LMqEjg+lK/NAjDUCOudRft5QWTF9pTPVracq2H8eqYFoaykkZ6IPBMslFCnNNcrlgJgTNvf1if988SX10ApiLxFEGbmrEDzGo448nZ6MU17srY8vA3jKKKBlstjwJcYhXfpcUX4JUyHGshNOGyRxNTCqesg9oYlMZiVZtx6w5lvfAD2fGogs3WfMAwcyXCV/6vpKOFBb3JxQ=
before_install:
- openssl aes-256-cbc -K $encrypted_3cf6c1fd150f_key -iv $encrypted_3cf6c1fd150f_iv
-in qq_rsa.enc -out ~/.ssh/id_rsa -d
- chmod 600 ~/.ssh/id_rsa