Skip to content

Commit

Permalink
Use tar + ssh for deploying
Browse files Browse the repository at this point in the history
  • Loading branch information
raffomania committed Jul 23, 2023
1 parent c2f4dff commit 4c61784
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion justfile
Original file line number Diff line number Diff line change
Expand Up @@ -113,4 +113,4 @@ deploy-netlify site="ask-historians-archive" input_name="ah" limit="2022-01-01":

deploy-ssh target site="ask-historians-archive" input_name="ah" limit="2014-01-01":
just run --release -- --limit-posts={{limit}} --submissions=input/{{input_name}}_posts.json --comments=input/{{input_name}}_comments.json
rsync --recursive --delete --info=progress2 ./output/ {{target}}
tar -c --zstd ./output | ssh lily 'mkdir ~/data/new.archive.observer && cd ~/data/new.archive.observer && tar -x --zstd'

0 comments on commit 4c61784

Please sign in to comment.