note about removing deployment directory
continuous-integration/drone/push Build is passing Details

This commit is contained in:
terris Station 2019-12-15 17:38:23 -05:00
parent 9390416b1b
commit 3c69934a47
1 changed files with 9 additions and 4 deletions

View File

@ -104,7 +104,9 @@ The second command in the above steps copies the `site_dir` and its contents to
remove files that have been removed from the repository and are no longer being
built as part of the set of pages. This behavior can be changed by adding a
command between those listed above: `- rm -fr
/home/terris/public_html/substation`.
/home/terris/public_html/substation`. In fact, that might be a good idea, since
I had some trouble with publishing this very document after some changes to the
mkdocs configuration in the repository.
```
trigger:
@ -130,9 +132,12 @@ without having the site be constantly rebuilt.
### Building and deploying
Since these pages live mostly in their repository, they are built and deployed by drone, and after making changes to the markdown sources, I can deploy them with the following common git commands in the directory where the local copy of the repository lives:
Since these pages live mostly in their repository, they are built and deployed
by drone, and after making changes to the markdown sources, I can deploy them
with the following common git commands in the directory where the local copy of
the repository lives:
* git commit -a -m "Turn and face the strange / Ch-ch-changes..."
* git add .
* git commit -m "Turn and face the strange / Ch-ch-changes..."
* git push