Commit Graph

648 Commits

Author SHA1 Message Date
Kazuhiro MUSASHI 9566f416cc Hide uid and token. 2022-09-04 21:54:20 +09:00
Kazuhiro MUSASHI 6b608173a3 Merge pull request 'TVerのAPI利用方法についての記事を追加' (#10) from how-to-use-tver-api into master
Reviewed-on: #10
2022-09-04 12:45:04 +00:00
Kazuhiro MUSASHI 77d6cd5b46 記事内容の修正
- 番組情報取得方法の説明を詳細に
- 検索キーワードの指定方法にも言及する
2022-09-04 21:41:32 +09:00
Kazuhiro MUSASHI 001ac1136c メタ情報の修正 2022-09-04 21:39:25 +09:00
Kazuhiro MUSASHI 80133c4921 TVerのAPI利用方法についての記事を追加 2022-09-04 21:32:20 +09:00
Kazuhiro MUSASHI 68848f5845 Merge pull request 'Rename the typo filename.' (#9) from fix-filename-typo into master
Reviewed-on: #9
2022-08-21 08:59:46 +00:00
Kazuhiro MUSASHI 08fe45ef0e Rename the typo filename. 2022-08-21 17:39:09 +09:00
Kazuhiro MUSASHI 21af0924fb Merge pull request 'OGPイメージを指定する' (#8) from support-ogp-images into master
Reviewed-on: #8
2022-08-21 08:29:47 +00:00
Kazuhiro MUSASHI 6a3606c601 OGPイメージを指定する 2022-08-21 17:26:36 +09:00
Kazuhiro MUSASHI be87ef6af9 Merge pull request 'Bump `hugo` version to `v0.101.0`.' (#7) from bump-hugo-version into master
Reviewed-on: #7
2022-08-20 12:52:17 +00:00
Kazuhiro MUSASHI 8884abc894 Bump `hugo` version to `v0.101.0`. 2022-08-20 21:48:49 +09:00
Kazuhiro MUSASHI 3004d17feb Merge pull request 'MySQLのリモート接続用ユーザーの追加・削除方法をまとめた記事を追加' (#1) from mysql-tips into master
Reviewed-on: #1
2022-08-20 12:34:09 +00:00
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