diff options
author | Gregor Kleen <pngwjpgh@users.noreply.github.com> | 2016-12-08 20:55:57 +0100 |
---|---|---|
committer | Gregor Kleen <pngwjpgh@users.noreply.github.com> | 2016-12-08 20:55:57 +0100 |
commit | ba1f8b82012ea5dc307d46c4d7d5ce0bc6ba6ff2 (patch) | |
tree | 6395a5a91f3623936dc50a573b27bdcc1ea276c0 /provider/posts | |
parent | 946bc4b8690d29964a2f20484e9af7556d19e258 (diff) | |
download | dirty-haskell.org-ba1f8b82012ea5dc307d46c4d7d5ce0bc6ba6ff2.tar dirty-haskell.org-ba1f8b82012ea5dc307d46c4d7d5ce0bc6ba6ff2.tar.gz dirty-haskell.org-ba1f8b82012ea5dc307d46c4d7d5ce0bc6ba6ff2.tar.bz2 dirty-haskell.org-ba1f8b82012ea5dc307d46c4d7d5ce0bc6ba6ff2.tar.xz dirty-haskell.org-ba1f8b82012ea5dc307d46c4d7d5ce0bc6ba6ff2.zip |
Fix deploy permissions
Diffstat (limited to 'provider/posts')
-rw-r--r-- | provider/posts/blog/git-deploy.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/provider/posts/blog/git-deploy.md b/provider/posts/blog/git-deploy.md index ddda12f..92d94fe 100644 --- a/provider/posts/blog/git-deploy.md +++ b/provider/posts/blog/git-deploy.md | |||
@@ -42,6 +42,7 @@ $touchedMaster || exit 0 | |||
42 | git clone --branch master --depth 1 --single-branch file://$(pwd) ${tmpDir} | 42 | git clone --branch master --depth 1 --single-branch file://$(pwd) ${tmpDir} |
43 | 43 | ||
44 | cd ${tmpDir} | 44 | cd ${tmpDir} |
45 | umask 0022 | ||
45 | nix-shell --run "dirty-haskell build && dirty-haskell deploy" | 46 | nix-shell --run "dirty-haskell build && dirty-haskell deploy" |
46 | } 2>&1 | stdbuf -o 0 tr '\r' '\n' | logger --id=$$ -p daemon.info -t dirty-haskell | 47 | } 2>&1 | stdbuf -o 0 tr '\r' '\n' | logger --id=$$ -p daemon.info -t dirty-haskell |
47 | ~~~ | 48 | ~~~ |