Browse Source

Scripts are no longer needed

master
Danila Fedorin 11 months ago
parent
commit
78c30ffc51
  1. 3
      scripts/change_blog_nix.sh
  2. 1
      scripts/update_blog.sh

3
scripts/change_blog_nix.sh

@ -1,3 +0,0 @@
echo "New rev: $1"
echo "New SHA256: $2"
sed -i "s/rev = \".*\"/rev = \"$1\"/;s/sha256 = \".*\"/sha256 = \"$2\"/" default.nix

1
scripts/update_blog.sh

@ -1 +0,0 @@
nix-prefetch-git --rev refs/heads/master https://dev.danilafe.com/Web-Projects/blog-static.git --quiet --fetch-submodules | jq '.rev,.sha256' | xargs ./change_blog_nix.sh
Loading…
Cancel
Save