Compare commits

..

2 Commits

Author SHA1 Message Date
8f2c290b95 Merge pull request 'Change the destination IP address for the Rake tasks' (#6) from destination-address-change-tasks into main
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #6
2025-02-08 11:42:40 +00:00
49e5f4633d Change the destination IP address for the Rake tasks
All checks were successful
continuous-integration/drone/push Build is passing
2025-02-08 20:40:57 +09:00
9 changed files with 7 additions and 97 deletions

View File

@ -11,4 +11,4 @@ location = "カオサンロード"
images = ["ogp/2023-12-26-khao-san-road.webp"] images = ["ogp/2023-12-26-khao-san-road.webp"]
+++ +++
<a data-flickr-embed="true" href="https://www.flickr.com/photos/42332031@N02/53446171891/in/album-72177720313852146" title="DSC03571.JPG"><img src="https://live.staticflickr.com/65535/53446171891_81ea96ac05.jpg" width="500" height="333" alt="DSC03571.JPG"/></a><script async src="//embedr.flickr.com/assets/client-code.js" charset="utf-8"></script> <a data-flickr-embed="true" href="https://www.flickr.com/photos/42332031@N02/53352608321/in/datetaken-public/" title="R0001377.JPG"><img src="https://live.staticflickr.com/65535/53352608321_dda215b7ac_z.jpg" width="640" height="427" alt="R0001377.JPG"/></a>

View File

@ -1,15 +0,0 @@
+++
title = "フィリピン・マニラ"
date = 2024-01-26T12:11:00+09:00
lastmod = 2024-01-26T12:11:00+09:00
description = "マニラ"
tags = ["マニラ"]
categories = ["写真"]
author = "kazu634"
camera = "Apple iPhone15"
lens = "Back Dual Wide Camera"
location = "マニラ"
images = ["ogp/2024-01-26-manila.webp"]
+++
<a data-flickr-embed="true" href="https://www.flickr.com/photos/42332031@N02/53492850503/in/album-72177720314389531" title="IMG_0302.JPG"><img src="https://live.staticflickr.com/65535/53492850503_87682d1ab7.jpg" width="500" height="375" alt="IMG_0302.JPG"/></a><script async src="//embedr.flickr.com/assets/client-code.js" charset="utf-8"></script>

View File

@ -1,15 +0,0 @@
+++
title = "福岡・中洲にかかる橋"
date = 2024-04-25T12:11:00+09:00
lastmod = 2024-04-25T12:11:00+09:00
description = "中洲にかかる橋の写真です"
tags = ["中洲"]
categories = ["写真"]
author = "kazu634"
camera = "Sony a7c"
lens = "FE 35mm F1.4 GM"
location = "中洲"
images = ["ogp/2024-04-25-fukuoka.webp"]
+++
<a data-flickr-embed="true" href="https://www.flickr.com/photos/42332031@N02/53683690514/in/album-72177720316534102" title="DSC04755.JPG"><img src="https://live.staticflickr.com/65535/53683690514_cb6d23058a.jpg" width="500" height="333" alt="DSC04755.JPG"/></a><script async src="//embedr.flickr.com/assets/client-code.js" charset="utf-8"></script>

View File

@ -1,15 +0,0 @@
+++
title = "遠野の風景"
date = 2024-09-30T12:11:00+09:00
lastmod = 2024-09-30T12:11:00+09:00
description = "カッパを探しに遠野に行きました"
tags = ["遠野"]
categories = ["写真"]
author = "kazu634"
camera = "Sony a7c"
lens = "16-28mm F2.8 DG DN | Contemporary 022"
location = "遠野"
images = ["ogp/2024-09-30-tohno.webp"]
+++
<a data-flickr-embed="true" href="https://www.flickr.com/photos/42332031@N02/54037866999/in/album-72177720320792412" title="DSC06524.JPG"><img src="https://live.staticflickr.com/65535/54037866999_4e87cddd03.jpg" width="500" height="333" alt="DSC06524.JPG"/></a><script async src="//embedr.flickr.com/assets/client-code.js" charset="utf-8"></script>

View File

@ -1,15 +0,0 @@
+++
title = "ミュー2"
date = 2024-11-09T12:11:00+09:00
lastmod = 2024-11-09T12:11:00+09:00
description = "ポケモン工芸展を見に行きました"
tags = ["虎ノ門"]
categories = ["写真"]
author = "kazu634"
camera = "Apple iPhone15"
lens = "iPhone15 Back Camera"
location = "虎ノ門ヒルズ"
images = ["ogp/2024-11-09-mu2.webp"]
+++
![Image](https://farm66.staticflickr.com/65535/54127563838_876653acdf_c.jpg)

View File

@ -1,15 +0,0 @@
+++
title = "柿"
date = 2024-11-10T12:11:00+09:00
lastmod = 2024-11-10T12:11:00+09:00
description = "お家の庭の柿を撮りました"
tags = ["多賀城"]
categories = ["写真"]
author = "kazu634"
camera = "Sony a7c"
lens = "FE 50mm F1.4 GM"
location = "お家の庭"
images = ["ogp/2024-11-10-kaki.webp"]
+++
![Image](https://farm66.staticflickr.com/65535/54129416766_5c46df470f_c.jpg)

View File

@ -1,15 +0,0 @@
+++
title = "気仙沼の漁火"
date = 2024-11-12T12:11:00+09:00
lastmod = 2024-11-12T12:11:00+09:00
description = "気仙沼の漁船の漁火"
tags = ["気仙沼"]
categories = ["写真"]
author = "kazu634"
camera = "Sony a7c"
lens = "FE 50mm F1.4 GM"
location = "気仙沼"
images = ["ogp/2024-11-12-isaribi-kesennuma.webp"]
+++
![Image](https://farm66.staticflickr.com/65535/54161302628_039a69d7ae_c.jpg)

View File

@ -10,8 +10,8 @@ task :prod => [:init, :prep, :tcard] do
sh 'find public/ -type f | egrep "\.(css|js|png|jpg|html|JPG|PNG|CSS|JS|HTML)$" | xargs -n 1 -i% -P 0 sh -c "cp % %.bk && gzip % && mv %.bk %"' sh 'find public/ -type f | egrep "\.(css|js|png|jpg|html|JPG|PNG|CSS|JS|HTML)$" | xargs -n 1 -i% -P 0 sh -c "cp % %.bk && gzip % && mv %.bk %"'
sh 'ssh -p 10022 webadm@10.0.1.222 "rm -rf /var/www/blog/*"' sh 'ssh -p 10022 webadm@10.0.1.96 "rm -rf /var/www/blog/*"'
sh 'ssh -p 10022 webadm@10.0.1.222 "rm -rf /home/webadm/works/public/*"' sh 'ssh -p 10022 webadm@10.0.1.96 "rm -rf /home/webadm/works/public/*"'
sh 'rsync -e "ssh -p 10022" -rltvz --omit-dir-times --delete public/ webadm@10.0.1.222:/var/www/blog' sh 'rsync -e "ssh -p 10022" -rltvz --omit-dir-times --delete public/ webadm@10.0.1.96:/var/www/blog'
sh 'rsync -e "ssh -p 10022" -rltvz --omit-dir-times --delete public/ webadm@10.0.1.222:/home/webadm/works/public' sh 'rsync -e "ssh -p 10022" -rltvz --omit-dir-times --delete public/ webadm@10.0.1.96:/home/webadm/works/public'
end end

View File

@ -10,6 +10,6 @@ task :stag => [:init, :prep, :tcard] do
sh 'find public/ -type f | egrep "\.(css|js|png|jpg|html|JPG|PNG|CSS|JS|HTML)$" | xargs -n 1 -i% -P 0 sh -c "cp % %.bk && gzip % && mv %.bk %"' sh 'find public/ -type f | egrep "\.(css|js|png|jpg|html|JPG|PNG|CSS|JS|HTML)$" | xargs -n 1 -i% -P 0 sh -c "cp % %.bk && gzip % && mv %.bk %"'
sh 'ssh -p 10022 webadm@10.0.1.166 "rm -rf /var/www/test/*"' sh 'ssh -p 10022 webadm@10.0.1.96 "rm -rf /var/www/test/*"'
sh 'rsync -e "ssh -p 10022" -rltvz --omit-dir-times --delete public/ webadm@10.0.1.222:/var/www/test' sh 'rsync -e "ssh -p 10022" -rltvz --omit-dir-times --delete public/ webadm@10.0.1.96:/var/www/test'
end end