forked from CFPAOrg/Minecraft-Mod-Language-Package
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
43 lines (43 loc) · 1.74 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
branches:
only:
- 1.12.2
language: python
python:
- '3.6'
script:
- python3 ./zip.py
before_deploy:
- git config --local user.name "TartaricAcid"
- git config --local user.email "[email protected]"
- git tag "汉化资源包-Snapshot-$(date +'%Y%m%d%H%M%S')"
deploy:
provider: releases
api_key:
secure: KmeoGPGKBYjliQomtTeynl6Q42m/3k9jf/2FY6qu8fX8uqA4RhgZsdphP9PZ1WkKNds80H9p7zSAc57l8qrPkLoyYOfJGRiZZB68G6/AKKV0xTm4SV/6ItoTa7sSQkFNr1U1UBdvDiC7RRpPWMyVwxFefT5GWxg15/+O5DNkAgMwn4/Ea0l5q358Rgod3WkdKeLT3QPrEjY+8lUUlC4edYwVJhe2U/pAHcDkOGQJQX+JAVd+ss6QHK4FAk0vFm0demIT2/ByPkqmajo5M1vSLFnhoOMJdyIeNKeZGslydAgUGf3AQCn7VoPV4zBa3+q2sEEVDVMZkp2HjxgYBfzk9M00EJ78ETryIetpa6r7rVPz+rxAVyzJqdhCH4/TqCA+a6j0j/axqqyVNfPqqU2wPEgCindvU9hMjJ3y1be6gmElGdDP0uDab3/lGUWiZdwFr32G732QA7LV+ZeTABAuhCoOz9WAFMN4mDI7dwPn67D2FEfa/Q6e7aiaEG0A/M90bqlKs0bkhubNczJJgl2s2FXKsHzPLU7GXRlT6kgt1I7WzTBMuGvHrqJ5mBGNCQMsELjAoZuzskqbvsdqzgDF8VUj+n2VSMYQzksBK0+g8lJ9eH2KWr1MRPekENaQf47Xh9T1BPTsf3Hcu9xwcNhneUYyTgBol3Pg3PjqRFdrO2Y=
file:
- Minecraft-Mod-Language-Modpack.zip
skip_cleanup: true
on:
repo: CFPAOrg/Minecraft-Mod-Language-Package
branch: 1.12.2
before_install:
- openssl aes-256-cbc -K $encrypted_9398a758e4ed_key -iv $encrypted_9398a758e4ed_iv
-in id_rsa.enc -out id_rsa -d
- eval "$(ssh-agent -s)"
- chmod 600 id_rsa
- ssh-add id_rsa
addons:
ssh_known_hosts:
- github.com
- git.dev.tencent.com
after_deploy:
- git clone --branch=1.12.2-release [email protected]:CFPAOrg/Minecraft-Mod-Language-Package.git
release
- cd release
- git rm -r ./assets/
- mv ../assets ./
- git add * && git commit -m "Auto-update"
- git push origin 1.12.2-release
- git remote add tctdev [email protected]:baka943/Minecraft-Mod-Language-Package.git
- git push tctdev 1.12.2-release
- cd ..