File tree Expand file tree Collapse file tree 2 files changed +9
-8
lines changed Expand file tree Collapse file tree 2 files changed +9
-8
lines changed Original file line number Diff line number Diff line change 6
6
directories :
7
7
- " ~/.platformio"
8
8
9
+ if : tag =~ /^\d+(?:\.\d+){2}$/
10
+
9
11
env :
10
12
matrix :
11
13
- PLATFORMIO_CI_SRC=src/
@@ -34,11 +36,11 @@ addons:
34
36
ssh_known_hosts : iot.greggs.org
35
37
# Setup ssh to goDaddy with key
36
38
before_deploy :
37
- - openssl aes-256-cbc -K $encrypted_c79cb383f093_key -iv $encrypted_c79cb383f093_iv
38
- -in travis-godaddy_rsa .enc -out travis-godaddy_rsa -d
39
+ - openssl aes-256-cbc -K $encrypted_29231b0f8d8a_key -iv $encrypted_29231b0f8d8a_iv
40
+ -in godaddy-travis_rsa .enc -out godaddy-travis_rsa -d
39
41
- eval "$(ssh-agent -s)"
40
- - chmod 600 travis-godaddy_rsa
41
- - ssh-add travis-godaddy_rsa
42
+ - chmod 600 godaddy-travis_rsa
43
+ - ssh-add godaddy-travis_rsa
42
44
43
45
# Deploy binaries
44
46
deploy :
@@ -48,7 +50,6 @@ deploy:
48
50
on :
49
51
repo : csgregg/csg-esp8266-rota
50
52
all_branches : true
51
- condition : " $TRAVIS_TAG =~ ^[0-9]+\\ .[0-9]+\\ .[0-9]+$"
52
53
api_key :
53
54
secure : c19w5t9Nw8B58j9hYx7fKWQ4x79kQjSQffZwodePpqdp2yyS3nVW/z+NZPugSPX0FkahAGDdlSjdGlWgp6QQrtB4yV2w+k9mIjxwk6IF3LxY9z0wpnqiuGHDjEG0n887MhU3quQ9Dq/NqUCWn72aYPFZcNXCIwKELv5L5UI745zE7TnSoKLuGd1Hrhd5S6qOfCBxfMYsrHMMYCRH3sGthL07gUqBAYcwHX2nqqlRW9j9m+ebsdqghVoyQSZLElJzKLomc4VtgvmRrRs5hjjZO00RDARje/DnLxQa2NS6npgJhuaOtMd/tGzU0aruhccbUm75O2oKDnRtU5knwcCY1x1Y/x7jc4s88EL5jDQ34oTPYRH59v350GYkczvREPDQMICKrNySW6VcAj0JTvQDMpGrnXqxzgNz60YbVJbWT0gwFU9tyTVcDj8Nx5FdNKz9OAEI5yN4j7blcXm3u03pKeTCOqTz/Fv4saK54VBcJ4hwiObinNZ4NhvFhy6lmFjwIu7iRsSZO185YD6EhgsDvwKrsMonUC+R6TN1Hw0puBqiJyrebOoxy51SuWADwVeWgrsdOAEpFHcmvWCtN2pL+jOgqMK1dq5hEpGVnAyYe79Y69KiezTdu+/marXq1II8BB1sEyqhmSd+fjLdgrymVhOC3MRpx8h6dPU+1A71i88=
54
55
file_glob : true
@@ -62,9 +63,9 @@ deploy:
62
63
skip_cleanup : true
63
64
script :
64
65
# Sync files and folders
65
- -
rsync -r --delete-after $TRAVIS_BUILD_DIR/hosted/iot.greggs.org/ [email protected] :public_html
66
+ -
rsync -r --delete-after --verbose $TRAVIS_BUILD_DIR/hosted/iot.greggs.org/ [email protected] :public_html
66
67
- chmod 600 /public_html/tools/*
67
68
on :
68
69
all_branches : true
69
- condition : " $TRAVIS_TAG =~ ^[0-9]+ \\ .[0-9]+ \\ .[0-9]+$ "
70
+
70
71
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ def minify_file(file,url):
66
66
print ("Minifying: " + str (file ))
67
67
data = {'input' : open (file , 'rb' ).read ()}
68
68
response = requests .post (url , data = data )
69
- time .sleep (1 )
69
+ # time.sleep(1)
70
70
minified = response .content
71
71
with open (file , 'wb' ) as f_out :
72
72
f_out .write (minified )
You can’t perform that action at this time.
0 commit comments