Kevin Brown
37773d408f
Delay documentation deployment
...
This should hopefully fix any possible issues where the NPM package
may be released after the documentation is deployed, which could cause
a cause miss by jsDelivr and cause the documentation to cache without
pulling in the Select2 dependency.
It hasn't happened yet, but I'm concerned it could happen and I don't
want to put in the effort to make a more sophisticated way of
handling this issue.
2019-10-28 04:10:33 -04:00
Kevin Brown
7688be5db5
Only deploy docs on releases
2019-09-11 23:27:04 -04:00
Kevin Brown
e1d64e92c4
HOST_FINGERPRINT is also required but unused
2019-09-11 23:15:02 -04:00
Kevin Brown
a31d56d47b
HOST_IP is also required but unused
2019-09-11 23:12:52 -04:00
Kevin Brown
120065ed46
SSH_PUBLIC_KEY is required but unused
2019-09-11 23:10:22 -04:00
Kevin Brown
c95ed1796a
Switch to using rsync
2019-09-11 23:07:31 -04:00
Kevin Brown
dea726d065
Use new syntax for args
2019-09-11 22:59:11 -04:00
Kevin Brown
bff3a777ae
Try using strip.components with drone-scp
...
This should, in theory, strip out the leading docs directory when doing the copy.
2019-09-11 22:57:24 -04:00
Kevin Brown
29d01a00c5
Move docs into root directory before copying
...
Hopefully this fixes the issue where it was unpacking the enitre directory into the destination instead of the individually specified files.
2019-09-11 22:51:44 -04:00
Kevin Brown
b3c6d3ebfe
Remove trailing slash on destination directory
2019-09-11 22:35:52 -04:00
Kevin Brown
5e32678e49
Proper syntax for copying dir contents
2019-09-11 22:29:43 -04:00
Kevin Brown
c891d2ec72
Deploy docs to the production location
2019-09-11 22:20:38 -04:00
Kevin Brown
8cb7e33766
Fix copying directory during deployment
2019-09-11 22:14:18 -04:00
Kevin Brown
fe208f1f86
Added workflow for deploying documentation
...
This does not yet deploy the actual documentation, but it instead deploys the old docs (which are now redirects) to a temporary folder for testing.
2019-09-11 21:49:00 -04:00