Commit Graph

64 Commits

Author SHA1 Message Date
Kazuhiro MUSASHI cfe3b63a61 Modify the logic to rename. 2021-05-06 21:30:38 +09:00
Kazuhiro MUSASHI bfc5959438 Test the CI to generate OGP. 2021-05-06 21:20:32 +09:00
Kazuhiro MUSASHI 9ac988942e Generate OGP images only for production. 2021-05-02 16:07:55 +09:00
Kazuhiro MUSASHI 9047181649 15th try. 2021-05-02 16:02:10 +09:00
Kazuhiro MUSASHI 4d6b07f5e7 14th try. 2021-05-02 15:56:51 +09:00
Kazuhiro MUSASHI bce4c912d9 13th try. 2021-05-02 15:52:21 +09:00
Kazuhiro MUSASHI 7103a07f66 12th try. 2021-05-02 15:49:30 +09:00
Kazuhiro MUSASHI e01adfc1fe 11th try. 2021-05-02 15:30:27 +09:00
Kazuhiro MUSASHI afc2966e92 10th try. 2021-05-02 15:19:56 +09:00
Kazuhiro MUSASHI a4ed83d0bd 9th try. 2021-05-02 15:10:46 +09:00
Kazuhiro MUSASHI 5afca5e21d 8th try. 2021-05-02 15:07:00 +09:00
Kazuhiro MUSASHI 2c018f2642 7th try. 2021-05-02 15:01:24 +09:00
Kazuhiro MUSASHI 42ad3a56d7 6th try 2021-05-02 14:58:39 +09:00
Kazuhiro MUSASHI ff1b09174e 5th try 2021-05-02 14:54:22 +09:00
Kazuhiro MUSASHI 979bfe85a3 4th try. 2021-05-02 14:50:30 +09:00
Kazuhiro MUSASHI 3218626637 3rd try. 2021-05-02 14:38:37 +09:00
Kazuhiro MUSASHI cda1fde1ff 2nd try to generate the OGP images. 2021-05-02 14:37:28 +09:00
Kazuhiro MUSASHI ca392fa478 Initial try to generate OGP image by Drone. 2021-05-02 14:36:22 +09:00
Kazuhiro MUSASHI 1febb9fff9 Bump `hugo` version. 2021-05-02 13:55:50 +09:00
Kazuhiro MUSASHI ecea27cf51 Omit `-t` option. 2020-05-01 00:57:54 +09:00
Kazuhiro MUSASHI 30310d143a Use `xargs`, instead of `for`. 2020-05-01 00:43:05 +09:00
Kazuhiro MUSASHI 3478c90104 gzip `.html` during ci processes. 2020-05-01 00:09:59 +09:00
Kazuhiro MUSASHI 20d9abf624 Modify `--minify` option order. 2020-04-18 23:12:16 +08:00
Kazuhiro MUSASHI bdec22a19a Add `--minify` option to `.drone.yml`. 2020-04-18 23:05:57 +08:00
Kazuhiro MUSASHI f97582225b Support hugo version 0.69. 2020-04-18 17:33:23 +08:00
Kazuhiro MUSASHI f349d21677 Modify production part as well. 2020-02-16 23:09:14 +08:00
Kazuhiro MUSASHI 3e1b3d2f3f Delete `sudo` command. 2020-02-16 23:01:49 +08:00
Kazuhiro MUSASHI 9ed38ea0b8 Use `alpine:3.9` docker image. 2020-02-16 22:57:11 +08:00
Kazuhiro MUSASHI 5f42d93271 Add `sudo` to all the lines 2020-02-16 20:38:15 +07:00
Kazuhiro MUSASHI 26a55c7c81 Add `sudo` again 2020-02-16 20:35:24 +07:00
Kazuhiro MUSASHI 6cb3aae739 hugo docker check: specify cache directory again 2020-02-16 20:33:45 +07:00
Kazuhiro MUSASHI ed2f61f63d Specify the OS user to execute CI 2020-02-16 20:31:17 +07:00
Kazuhiro MUSASHI 1bcd800ed7 Add `sudo` command in front of `hugo` 2020-02-16 20:25:48 +07:00
Kazuhiro MUSASHI a0153469f0 hugo docker image check: user & current directory 2020-02-16 20:22:46 +07:00
Kazuhiro MUSASHI 2b71e7680b hugo docker image check: permission - 2 2020-02-16 20:18:10 +07:00
Kazuhiro MUSASHI a7fc74d382 hugo docker image debug: permission check 2020-02-16 20:17:35 +07:00
Kazuhiro MUSASHI 351fe32f8a Modify the order of the flags 2020-02-16 20:13:08 +07:00
Kazuhiro MUSASHI f068ad3c32 Specify hugo cache directory 2020-02-16 20:06:51 +07:00
Kazuhiro MUSASHI 7ecaa922a9 bump the hugo docker image to 0.64.1 2020-02-16 19:20:19 +07:00
Kazuhiro MUSASHI 27230c86b5 Amazonのリンク修正部分のtypoを修正 2020-01-19 21:04:02 +07: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 211cbe2cf6 Branching based on the branch name. 2020-01-19 14:37:35 +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