Unverified Commit 67277ebf authored by Ethan Madison's avatar Ethan Madison
Browse files

Fix deploy instructions

This fix comrpises two changs:
 - the `scp` command should be recursive, since there are many files
   inside `public/` we want copied over, and
 - `public/*` is not valid for scp, so it has been changed to `public/`.
   (Since we are recursing through the directory, they are equivalent in
   meaning, anyway.)

Thse two changes mean the delpoy instructions actually work!
Signed-off-by: default avatarEthan Madison <ethan@ethanmad.com>
parent 6f99a20b
......@@ -43,7 +43,7 @@ After making changes, testing, and committing, delete the existing `public/` dir
$ rm -rf public/
$ hugo
$ scp public/* <username>@login.itd.umich.edu:/afs/umich.edu/group/soas/fencing/Public/html
$ scp -r public/ <username>@login.itd.umich.edu:/afs/umich.edu/group/soas/fencing/Public/html
It would be nice to automate deployment using git hooks and CI, or even to make the production directory a bare git repository to push the `public/` directory to, but that's an issue for another time.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment