cli: clean up cli docs before importing them

Remove the cli directory before doing the import; this ensures that if some file `foo.md` is deleted that the deletion propagates.

Edward Thomson committed Aug 11, 2021 at 14:04 UTC 3a63195f02081cf52e98b0248fdf03721accd8ee
1 file changed +2
.github/workflows/update-cli.yml
+2
@@ -34,6 +34,8 @@ jobs:
34 run: npm install
35 - name: Fetch latest documentation
36 run: node cli/cli_fetch.js
37 + - name: Clean up old documentation
38 + run: rm -rf content/cli
39 - name: Import documentation
40 run: node cli/cli_import.js
41