~scolby33/scolbyblog

04d3144344195751faab33ad0d8b517a55de517d — Scott Colby 8 months ago 5fa9d1f
Handle missing current sitemap.
1 files changed, 2 insertions(+), 1 deletions(-)

M .build.yml
M .build.yml => .build.yml +2 -1
@@ 45,13 45,14 @@ tasks:
  - deploy: |
      printf "ssh.phx.nearlyfreespeech.net ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJInlNsEgCi/Q2vmF0QJh5F7ZHzrx4oCZIZgr5P1z64Z\n" >> ~/.ssh/known_hosts
      cd scolbyblog
      rm output/assets/{main,pygments}.css
      tmpfile=$(mktemp)
      rsync \
        --info=COPY,DEL,FLIST2,MISC2,NAME,STATS3,SYMSAFE \
        --ignore-missing-args \
        --compress \
        scolby_scolby@ssh.phx.nearlyfreespeech.net:/home/public/www.scolby.com/sitemap.xml
        "$tmpfile"
      rm output/assets/{main,pygments}.css
      rsync \
        --info=COPY,DEL,FLIST2,MISC2,NAME,STATS3,SYMSAFE \
        --compress \