Commit Graph

736 Commits

Author SHA1 Message Date
Kazuhiro MUSASHI c1aa2e4fa3 記事の追加 2022-08-20 12:34:09 +00:00
Kazuhiro MUSASHI e5542083a5 Merge pull request 'Use the latest version of the docker image:' (#6) from trial-and-error-ci02 into master
Reviewed-on: #6
2022-08-20 12:15:32 +00:00
Kazuhiro MUSASHI f7ac62ea3e Use the latest version of the docker image:
```
--- a/.drone.yml
+++ b/.drone.yml
@@ -10,7 +10,7 @@ steps:
       - grep -l -r "http://www.amazon.co.jp/exec" content/ | sort | uniq | xargs -t --no-run-if-empty sed -i -e "s/http:\/\/www.amazon.co.jp\/exec/https:\/\/www.amazon.co.jp\/exec/g"

   - name: generate-ogp-images
-    image: reg.kazu634.com/kazu634/tcardgen:v0.3
+    image: reg.kazu634.com/kazu634/tcardgen
     commands:
       - find /root -type f -name *.ttf | xargs -t -I% -n 1 cp -p % assets/font/
       - find content/ -type f -name '*.md' | grep -v '_index' | xargs -t -n 1 /usr/local/bin/tcardgen -f assets/font/ -o static/ogp/ -c assets/tcardgen.yaml > /dev/null
```
2022-08-20 21:13:33 +09:00
Kazuhiro MUSASHI 7a80629e69 Merge pull request 'Copy the fonts to `assets/font`:' (#5) from trial-and-error-ci into master
Reviewed-on: #5
2022-08-20 12:07:39 +00:00
Kazuhiro MUSASHI 1cb279fd2a Copy the fonts to `assets/font`:
```
--- a/.drone.yml
+++ b/.drone.yml
@@ -12,7 +12,7 @@ steps:
   - name: generate-ogp-images
     image: reg.kazu634.com/kazu634/tcardgen:v0.3
     commands:
-      - find /var/tmp/ -type f -name *.ttf | xargs -t -I% -n 1 cp -p % assets/font/
+      - find /root -type f -name *.ttf | xargs -t -I% -n 1 cp -p % assets/font/
       - find content/ -type f -name '*.md' | grep -v '_index' | xargs -t -n 1 /usr/local/bin/tcardgen -f assets/font/ -o static/ogp/ -c assets/tcardgen.yaml > /dev/null
       - find static/ogp/ -type f -name '*.png' | xargs -n 1 -I% basename % .png | xargs -I% -n 1 img2webp -lossy -q 50 static/ogp/%.png -o static/ogp/%.webp > /dev/null
       - find static/ogp/ -type f -name '*.png' | xargs --no-run-if-empty rm
```
2022-08-20 21:03:09 +09:00
Kazuhiro MUSASHI 074bae2b30 Merge pull request 'さらにデバッグ' (#3) from modify-ci-settings into master
Reviewed-on: #3
2022-08-20 06:15:01 +00:00
Kazuhiro MUSASHI 031136b8c7 Add `-t` option to `find` command:
```
--- a/.drone.yml
+++ b/.drone.yml
@@ -12,7 +12,7 @@ steps:
   - name: generate-ogp-images
     image: reg.kazu634.com/kazu634/tcardgen:v0.3
     commands:
-      - find /var/tmp/ -type f -name *.ttf | xargs -I% -n 1 cp -p % assets/font/
+      - find /var/tmp/ -type f -name *.ttf | xargs -t -I% -n 1 cp -p % assets/font/
       - find content/ -type f -name '*.md' | grep -v '_index' | xargs -n 1 /usr/local/bin/tcardgen -f assets/font/ -o static/ogp/ -c assets/tcardgen.yaml > /dev/null
       - find static/ogp/ -type f -name '*.png' | xargs -n 1 -I% basename % .png | xargs -I% -n 1 img2webp -lossy -q 50 static/ogp/%.png -o static/ogp/%.webp > /dev/null
       - find static/ogp/ -type f -name '*.png' | xargs --no-run-if-empty rm
```
2022-08-20 06:15:01 +00:00
Kazuhiro MUSASHI 4769760bb5 Merge pull request 'Modify CI setting.' (#2) from modify-ci-settings into master
Reviewed-on: #2
2022-08-20 06:07:12 +00:00
Kazuhiro MUSASHI 3a58c81fbe Modify CI setting.
```
--- a/.drone.yml
+++ b/.drone.yml
@@ -12,9 +12,7 @@ steps:
   - name: generate-ogp-images
     image: reg.kazu634.com/kazu634/tcardgen:v0.3
     commands:
-      - wget 'https://github.com/yuru7/HackGen/releases/download/v2.3.0/HackGenNerd_v2.3.0.zip' -O /tmp/font.zip
-      - unzip /tmp/font.zip -d /tmp/font
-      - find /tmp/font -type f -name *.ttf | xargs -I% -n 1 cp -p % assets/font/
+      - find /var/tmp/ -type f -name *.ttf | xargs -I% -n 1 cp -p % assets/font/
       - find content/ -type f -name '*.md' | grep -v '_index' | xargs -n 1 /usr/local/bin/tcardgen -f assets/font/ -o static/ogp/ -c assets/tcardgen.yaml > /dev/null
       - find static/ogp/ -type f -name '*.png' | xargs -n 1 -I% basename % .png | xargs -I% -n 1 img2webp -lossy -q 50 static/ogp/%.png -o static/ogp/%.webp > /dev/null
       - find static/ogp/ -type f -name '*.png' | xargs --no-run-if-empty rm
```
2022-08-20 15:02:36 +09:00
Kazuhiro MUSASHI 7927ba59e4 Merge pull request 'Add `readme.md` to test the `drone` integration.' (#1) from drone-integration into master
Reviewed-on: #1
2022-01-30 02:01:59 +00:00
Kazuhiro MUSASHI c2cfe6724e Add `readme.md` to test the `drone` integration. 2022-01-30 10:58:31 +09:00
Kazuhiro MUSASHI 8bcde9ca7c Merge pull request 'くまモンを訪ねて熊本へ' (#86) from visiting-kumamons-office into master
Reviewed-on: #86
2022-01-25 22:31:56 +09:00
Kazuhiro MUSASHI 8c1b0f8e57 ヘッダーの追加 2022-01-25 22:29:53 +09:00
Kazuhiro MUSASHI db87d58ece 文言の修正 2022-01-25 22:26:56 +09:00
Kazuhiro MUSASHI 1a1f20ce9c 本文を記入 2022-01-25 22:23:44 +09:00
Kazuhiro MUSASHI f27a08a295 新しい記事を追加 2022-01-25 22:23:00 +09:00
Kazuhiro MUSASHI 4243bcd78e Merge pull request 'スアレズのコメント記事を追加' (#85) from quote-from-suarez into master
Reviewed-on: #85
2022-01-10 14:50:03 +09:00
Kazuhiro MUSASHI 67d46479e7 誤字を修正 2022-01-10 14:47:23 +09:00
Kazuhiro MUSASHI 6ceffee344 投稿日付を修正 2022-01-10 14:44:42 +09:00
Kazuhiro MUSASHI ade1ec9b24 ヘッダーの部分の文言を修正 2022-01-10 14:42:22 +09:00
Kazuhiro MUSASHI 123ffd8277 記事を追加 2022-01-10 14:38:39 +09:00
Kazuhiro MUSASHI fc817dd194 Merge pull request 'democratic-csiの記事を追加' (#84) from using-democratic-csi-for-nomad into master
Reviewed-on: #84
2022-01-09 22:20:19 +09:00
Kazuhiro MUSASHI 56faea4309 実際の記事を追加 2022-01-09 22:20:19 +09:00
Kazuhiro MUSASHI 6941efcdee 記事の追加 2022-01-09 22:20:19 +09:00
Kazuhiro MUSASHI e44e3b7ed1 Merge pull request 'ネギぼうずの記事を追加' (#83) from negibozu-kumamoto into master
Reviewed-on: #83
2021-12-26 09:03:50 +09:00
Kazuhiro MUSASHI 5b2592bf92 記事を追加 2021-12-26 09:01:00 +09:00
Kazuhiro MUSASHI 830ba9f675 Merge pull request '栗山監督の退任にあたってのことばの記事を追加' (#82) from quote-from-kuriyama-kantoku into master
Reviewed-on: #82
2021-12-12 20:52:22 +09:00
Kazuhiro MUSASHI ca3090efb6 記事の追加 2021-12-12 20:48:54 +09:00
Kazuhiro MUSASHI d565a5d648 Merge pull request 'Update `Mapbox` api key.' (#81) from update-mapbox-apikey into master
Reviewed-on: #81
2021-11-29 22:34:23 +09:00
Kazuhiro MUSASHI 11a8b0cc45 Re-update `Mapbox` API key:
```
diff --git a/config/_default/config.toml b/config/_default/config.toml
index bf03e7c..268f26b 100644
--- a/config/_default/config.toml
+++ b/config/_default/config.toml
@@ -175,7 +175,7 @@ theme = "LoveIt"
     # LoveIt NEW | 0.2.0 Mapbox GL JS config
     [params.page.mapbox]
       # access token of Mapbox GL JS
-      accessToken = "sk.eyJ1Ijoia2F6dTYzNCIsImEiOiJja3drcDN6d3YwNG9nMm9sbndxb2gyeWFwIn0.MHdT9vdHgxBjL69plzlvPQ"
+      accessToken = "pk.eyJ1Ijoia2F6dTYzNCIsImEiOiJja3drcGt4MWUxaHp2MzFwYm9iMTE5MXNxIn0.wqNoFnA8BDNNRhxFuvB_xw"
       # style for the light theme
       lightStyle = "mapbox://styles/mapbox/light-v9"
       # style for the dark theme
diff --git a/config/staging/config.toml b/config/staging/config.toml
index a4b7fdc..c59fbf9 100644
--- a/config/staging/config.toml
+++ b/config/staging/config.toml
@@ -175,7 +175,7 @@ theme = "LoveIt"
     # LoveIt NEW | 0.2.0 Mapbox GL JS config
     [params.page.mapbox]
       # access token of Mapbox GL JS
-      accessToken = "sk.eyJ1Ijoia2F6dTYzNCIsImEiOiJja3drcDN6d3YwNG9nMm9sbndxb2gyeWFwIn0.MHdT9vdHgxBjL69plzlvPQ"
+      accessToken = "pk.eyJ1Ijoia2F6dTYzNCIsImEiOiJja3drcGt4MWUxaHp2MzFwYm9iMTE5MXNxIn0.wqNoFnA8BDNNRhxFuvB_xw"
       # style for the light theme
       lightStyle = "mapbox://styles/mapbox/light-v9"
       # style for the dark theme
```
2021-11-29 22:31:24 +09:00
Kazuhiro MUSASHI b08f4511e3 Update `Mapbox` api key.
```
diff --git a/config/_default/config.toml b/config/_default/config.toml
index 58f6b4f..bf03e7c 100644
--- a/config/_default/config.toml
+++ b/config/_default/config.toml
@@ -175,7 +175,7 @@ theme = "LoveIt"
     # LoveIt NEW | 0.2.0 Mapbox GL JS config
     [params.page.mapbox]
       # access token of Mapbox GL JS
-      accessToken = "pk.eyJ1Ijoia2F6dTYzNCIsImEiOiJjanU4OHg0YjIyMjcxNDNsb2dnM2k5bHhqIn0.dsjWTh-G_TcJ9bOGWLvT2Q"
+      accessToken = "sk.eyJ1Ijoia2F6dTYzNCIsImEiOiJja3drcDN6d3YwNG9nMm9sbndxb2gyeWFwIn0.MHdT9vdHgxBjL69plzlvPQ"
       # style for the light theme
       lightStyle = "mapbox://styles/mapbox/light-v9"
       # style for the dark theme
diff --git a/config/staging/config.toml b/config/staging/config.toml
index 610ba15..a4b7fdc 100644
--- a/config/staging/config.toml
+++ b/config/staging/config.toml
@@ -175,7 +175,7 @@ theme = "LoveIt"
     # LoveIt NEW | 0.2.0 Mapbox GL JS config
     [params.page.mapbox]
       # access token of Mapbox GL JS
-      accessToken = "pk.eyJ1Ijoia2F6dTYzNCIsImEiOiJjanU4OHg0YjIyMjcxNDNsb2dnM2k5bHhqIn0.dsjWTh-G_TcJ9bOGWLvT2Q"
+      accessToken = "sk.eyJ1Ijoia2F6dTYzNCIsImEiOiJja3drcDN6d3YwNG9nMm9sbndxb2gyeWFwIn0.MHdT9vdHgxBjL69plzlvPQ"
       # style for the light theme
       lightStyle = "mapbox://styles/mapbox/light-v9"
       # style for the dark theme
```
2021-11-29 22:23:40 +09:00
Kazuhiro MUSASHI 24ba2ce3d8 Merge pull request 'かっぱの記事を追加' (#79) from kappa-at-gion into master
Reviewed-on: #79
2021-11-28 22:39:27 +09:00
Kazuhiro MUSASHI 872374a2ca 記事本体を追加 2021-11-28 22:29:56 +09:00
Kazuhiro MUSASHI e8141ae81e MapboxのAPIキーを追加 2021-11-28 22:15:16 +09:00
Kazuhiro MUSASHI 7de8a4bcd4 Merge pull request 'Terraformerの記事を追加' (#78) from terraformer into master
Reviewed-on: #78
2021-11-27 22:22:29 +09:00
Kazuhiro MUSASHI d861141e86 Fix typo 2021-11-27 22:20:09 +09:00
Kazuhiro MUSASHI 4cca52ef50 参考URLの追加 2021-11-27 22:20:09 +09:00
Kazuhiro MUSASHI d054d39da7 画像の差し替え 2021-11-27 22:19:30 +09:00
Kazuhiro MUSASHI b5e72e8066 Terraformerの記事を追加 2021-11-27 22:14:32 +09:00
Kazuhiro MUSASHI 55218289e1 Merge pull request 'セクション名の修正' (#77) from modify-section-name into master
Reviewed-on: #77
2021-11-24 21:32:43 +09:00
Kazuhiro MUSASHI 22c109b6ec セクション名の修正 2021-11-24 21:30:25 +09:00
Kazuhiro MUSASHI 306c33ec8e Merge pull request 'Vault 1.9.0で追加されたOIDC Provider機能についての記事を追加' (#76) from vault-as-OIDC-provider into master
Reviewed-on: #76
2021-11-23 22:20:06 +09:00
Kazuhiro MUSASHI 10aa23a338 画像の差し替え 2021-11-23 22:18:12 +09:00
Kazuhiro MUSASHI 86f0e4772e 表記の見直し 2021-11-23 22:15:33 +09:00
Kazuhiro MUSASHI 476a6a526f 記事を追加 2021-11-23 22:03:16 +09:00
Kazuhiro MUSASHI d3b44625c5 Merge pull request 'Add tags for `tcardgen`.' (#75) from add-tags-for-tcardgen into master
Reviewed-on: #75
2021-11-21 16:51:26 +09:00
Kazuhiro MUSASHI d422931fc0 Add tags for `tcardgen`. 2021-11-21 16:42:29 +09:00
Kazuhiro MUSASHI 655fd436ff Merge pull request 'カテゴリーなどの修正' (#74) from change-themes-LoveIt into master
Reviewed-on: #74
2021-11-17 23:14:10 +09:00
Kazuhiro MUSASHI 4b69ef4f93 Delete mermaid shortcode 2021-11-17 23:13:34 +09:00
Kazuhiro MUSASHI cd12acb3bd Modify the categories. 2021-11-17 23:13:34 +09:00