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