more updates to doc, some theme tweaks, finalizing the 5.0 release
This commit is contained in:
@ -14,19 +14,19 @@ permalink: /mydoc_push_build_to_server/
|
||||
If you have the AWS Command Line Interface installed and are pushing your builds to AWS, the following commands show how you can build and push to an AWS location from the command line:
|
||||
|
||||
```
|
||||
#aws s3 cp ~/users/tjohnson/projects/documentation-theme-jekyll-builds/mydoc_writers s3://[aws path]documentation-theme-jekyll/mydoc_writers --recursive
|
||||
aws s3 cp ~/users/tjohnson/projects/mydocproject/ s3://[aws path]docpath/mydocproject --recursive
|
||||
|
||||
#aws s3 cp ~/users/tjohnson/projects/documentation-theme-jekyll-builds/mydoc_designers s3://[aws path]/documentation-theme-jekyll/mydoc_designers --recursive
|
||||
aws s3 cp ~/users/tjohnson/projects/anotherdocproject2/ s3://[aws path]docpath/anotherdocproject --recursive
|
||||
```
|
||||
|
||||
The first path is the local location; the second path is the destination.
|
||||
The first path in the argument is the local location; the second path is the destination.
|
||||
|
||||
## Pushing to a regular server
|
||||
|
||||
If you're pushing to a regular server that you can ssh into, you can use `scp` commands to push your build. Here's an example:
|
||||
|
||||
```
|
||||
scp -r /users/tjohnson/projects/documentation-theme-jekyll-builds/mydoc_writers name@domain:/var/www/html/documentation-theme-jekyll/mydoc_writers
|
||||
scp -r /users/tjohnson/projects/mydocproject/ name@domain:/var/www/html/mydocproject
|
||||
```
|
||||
|
||||
Similar to the above, the first path is the local location; the second path is the destination.
|
||||
|
Reference in New Issue
Block a user