File tree Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -11,10 +11,20 @@ jobs:
11
11
- add_ssh_keys :
12
12
fingerprints :
13
13
- " SHA256:USaw9IC3qDmo5lTDeDE1ctu2VeLlrFbqhYZrPVJlw2U"
14
+ - " c0:90:93:c0:d1:79:9e:d6:14:2e:0f:30:77:1a:83:04"
15
+
16
+ - restore_cache :
17
+ keys :
18
+ - source-v1- # one time, not every time!
14
19
15
20
# checks out the source code for a job over SSH
16
21
- checkout
17
22
23
+ - save_cache :
24
+ key : source-v1-1 # Sept 7, 2019
25
+ paths :
26
+ - " .git"
27
+
18
28
- restore_cache :
19
29
keys :
20
30
- gem-cache-v1-{{ arch }}-{{ .Branch }}-{{ checksum "Gemfile.lock" }}
Original file line number Diff line number Diff line change @@ -22,10 +22,7 @@ task :deploy => [:check_git] do
22
22
system "rm -rf _posts/python/html" or exit! ( 1 )
23
23
system "git clone -b built git@github.com:plotly/plotly.py-docs _posts/python/html" or exit! ( 1 )
24
24
puts "...generate _site"
25
- system "jekyll build --verbose && git checkout \" #{ deploy_branch } \" && git pull origin \" #{ deploy_branch } \" && cp -r _site/* . && rm -rf _site/ && touch .nojekyll && git add . && git commit -m \" #{ message } \" && git push origin \" #{ deploy_branch } \" " or exit! ( 1 )
26
- puts "...git checkout \" #{ source_branch } \" "
27
- system "git checkout \" #{ source_branch } \" "
28
- system "osascript -e 'display notification \" rake deploy just finished\" with title \" Docs are ready!\" '"
25
+ system "jekyll build && git checkout \" #{ deploy_branch } \" && git pull origin \" #{ deploy_branch } \" && cp -r _site/* . && rm -rf _site/ && touch .nojekyll && git add . && git commit -m \" #{ message } \" && git push origin \" #{ deploy_branch } \" " or exit! ( 1 )
29
26
end
30
27
31
28
desc "Serve as if deploying"
You can’t perform that action at this time.
0 commit comments