Commit Graph

731 Commits

Author SHA1 Message Date
Kazuhiro MUSASHI f58d0da49a Merge branch 'delete-contents-before-deployment' of kazu634/blog into master 2020-01-19 18:44:44 +09:00
Kazuhiro MUSASHI a8ee1d7512 Add the housekeeping target. 2020-01-19 17:40:24 +08:00
Kazuhiro MUSASHI adf94b9bd9 CI behaviour test.
```
--- a/.drone.yml
+++ b/.drone.yml
@@ -30,7 +30,6 @@ steps:
         from_secret: ssh_key
       script:
         - rm -rf /var/www/blog/*
-        - rm -rf /home/webadm/works/public/*

   - name: scp
     image: appleboy/drone-scp
```
2020-01-19 17:32:04 +08:00
Kazuhiro MUSASHI 7ff60cf0bc Add housekeep task to delete the previous files for Production 2020-01-19 17:21:28 +08:00
Kazuhiro MUSASHI b65d5c07bd Add housekeep task to delete the previous files before deployment. 2020-01-19 17:13:30 +08:00
Kazuhiro MUSASHI cc75c68842 Merge branch 'change-ci' of kazu634/blog into master 2020-01-19 15:49:04 +09:00
Kazuhiro MUSASHI a1725ba61a Delete `Circle CI` settings. 2020-01-19 14:45:32 +08:00
Kazuhiro MUSASHI 211cbe2cf6 Branching based on the branch name. 2020-01-19 14:37:35 +08:00
Kazuhiro MUSASHI ca01f7a921 Disable ra html rendering.
[Hugo v0\.60\.0 更新後、Markdown に HTML を入れている場合。](https://blog.balloon.im/2019/11/hugo-v0.60.0-%E6%9B%B4%E6%96%B0%E5%BE%8Cmarkdown-%E3%81%AB-html-%E3%82%92%E5%85%A5%E3%82%8C%E3%81%A6%E3%81%84%E3%82%8B%E5%A0%B4%E5%90%88/)
2020-01-19 14:29:45 +08:00
Kazuhiro MUSASHI 3b7df4e0d3 Change `hugo` theme template. 2020-01-19 14:29:28 +08:00
Kazuhiro MUSASHI 0cd252575c Use `overwrite`, instead of `rm`. 2020-01-19 13:07:12 +08:00
Kazuhiro MUSASHI 5aeb56bf34 Deploy using `scp` drone plugin. 2020-01-19 12:54:54 +08:00
Kazuhiro MUSASHI f398b0d398 Add `-f` flag to `rm` command. 2020-01-19 12:44:45 +08:00
Kazuhiro MUSASHI 913f3aaecf Change indent. 2020-01-19 12:38:22 +08:00
Kazuhiro MUSASHI a99ff7376a Decide not to use dependency. 2020-01-19 12:36:44 +08:00
Kazuhiro MUSASHI 8e6e2edd62 Introducing dependency. 2020-01-19 12:20:03 +08:00
Kazuhiro MUSASHI 67ce8fa39c Specify the current directory as the argument of `hugo` command. 2020-01-05 21:02:13 +08:00
Kazuhiro MUSASHI f8f2bc10d5 Modify YAML syntax. 2020-01-05 20:53:59 +08:00
Kazuhiro MUSASHI 5be9d541ab Modify commands to make them 1 lines. 2020-01-05 20:51:52 +08:00
Kazuhiro MUSASHI 6cb4e1deac Modify YAML syntax. 2020-01-05 20:46:43 +08:00
Kazuhiro MUSASHI 464f579b62 Modify the YAML syntax. 2020-01-05 20:37:07 +08:00
Kazuhiro MUSASHI 475a04c1d1 Compress the assets. 2020-01-05 20:22:05 +08:00
Kazuhiro MUSASHI 47535fb096 Execute hugo command. 2020-01-05 20:20:51 +08:00
Kazuhiro MUSASHI 881b831291 Modify the regular expressions. 2020-01-05 20:19:29 +08:00
Kazuhiro MUSASHI cb24a3108c Change the task name. 2020-01-05 20:18:51 +08:00
Kazuhiro MUSASHI b6b2e0c22d Modify the task name to avoid the following error:
> default: Pod "h12394dciuksmm2h316rwcjbi7vrl1fr" is invalid: metadata.labels: Invalid value: "Modify Amazon Links": a valid label must be an empty string or consist of alphanumeric characters, '-', '_' or '.', and must start and end with an alphanumeric character (e.g. 'MyValue', or 'my_value', or '12345', regex used for validation is '(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?')
2020-01-05 20:10:23 +08:00
Kazuhiro MUSASHI 0e93a3a300 To avoid "set: Illegal option -o pipefail", delete "set +o pipefail". 2020-01-05 20:08:18 +08:00
Kazuhiro MUSASHI 6ece94c718 Change the task name. 2020-01-05 20:07:57 +08:00
Kazuhiro MUSASHI 1ef34a6aac Use `drone.io` to modify Amazon links. 2020-01-05 19:59:20 +08:00
Kazuhiro MUSASHI e0e941d5e3 Merge branch 'change-deploy-target' of kazu634/blog into master 2020-01-05 20:36:28 +09:00
Kazuhiro MUSASHI 2cb2429110 [ci skip] Change the deployment target servres. 2020-01-05 19:12:34 +08:00
Kazuhiro MUSASHI 0259891713
Merge pull request #47 from kazu634/change-title-of-kawasaki-warehouse
Change title.
2019-11-10 10:29:47 +07:00
Kazuhiro MUSASHI e3c60eacf1 Change title. 2019-11-10 11:25:08 +08:00
Kazuhiro MUSASHI a7f0841e02 ウェアハウス川崎についての記事を追加 2019-11-09 15:13:44 +07:00
Kazuhiro MUSASHI 5ad530c763
Merge pull request #46 from kazu634/japan-trip-visiting-noge
野毛を訪ねた際の記事を追加
2019-11-02 13:51:21 +07:00
Kazuhiro MUSASHI bd4d1fd363 日付文字列を修正 2019-11-02 13:41:33 +07:00
Kazuhiro MUSASHI 62d65d4558 野毛についての記事を追加
野毛についての記事を追加しました。
2019-11-02 13:40:37 +07:00
Kazuhiro MUSASHI a27bb568fc
Merge pull request #45 from kazu634/japan-rugby-2019
2015年当時のラグビー日本代表岩渕健輔GMのインタビュー記事からの引用を追加
2019-10-05 14:25:22 +07:00
Kazuhiro MUSASHI 6122bdc713 Modify Amazon link (http -> https) 2019-10-05 15:19:49 +08:00
Kazuhiro MUSASHI b323d4c69d Add amazon link 2019-10-05 14:14:52 +07:00
Kazuhiro MUSASHI 7a1291c4f1 Add an article 2019-10-05 14:08:20 +07:00
Kazuhiro MUSASHI fc2ae52654
Merge pull request #44 from kazu634/start-Line-Mobile
Line Mobileの記事を追加
2019-09-09 00:33:39 +07:00
Kazuhiro MUSASHI 0d6cf8e8c1 カテゴリ・表示イメージの指定 2019-09-09 01:30:31 +08:00
Kazuhiro MUSASHI e4f2a8a95a 画像を追加 2019-09-09 01:29:50 +08:00
Kazuhiro MUSASHI 16e1c8fb8f 記事を追加 2019-09-09 00:12:17 +07:00
Kazuhiro MUSASHI 8a55bc4c36
Merge pull request #43 from kazu634/Add-article-on-Fukuoka-trip
カテゴリ、タグ、画像など修正
2019-08-11 14:30:20 +07:00
Kazuhiro MUSASHI cf14da1e59 カテゴリ、タグ、画像など修正 2019-08-11 14:29:33 +07:00
Kazuhiro MUSASHI c5ff78fb90
Merge pull request #42 from kazu634/Add-article-on-Fukuoka-trip
酒一番の記事を追加
2019-08-11 14:25:21 +07:00
Kazuhiro MUSASHI b20d4e55af 酒一番の記事を追加 2019-08-11 14:20:17 +07:00
Kazuhiro MUSASHI 6829d68fb7
Merge pull request #41 from kazu634/quote-from-Seikei-Izumo-no-Logistics4
星系出雲の兵站4の記事を追加する
2019-08-04 14:58:49 +09:00