Commit Graph

21 Commits

Author SHA1 Message Date
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