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
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