diff --git a/flake.nix b/flake.nix index 4b0b867..5a56704 100644 --- a/flake.nix +++ b/flake.nix @@ -25,6 +25,7 @@ rust-analyzer gcc zig-overlay.packages."x86_64-linux".master + curl ]; buildInputs = with pkgs; [ libdisplay-info diff --git a/push.sh b/push.sh new file mode 100755 index 0000000..3b30755 --- /dev/null +++ b/push.sh @@ -0,0 +1,7 @@ +#!/bin/sh +for file in $(find public -type f) +do + echo "uploading: $file" + curl -X PUT --data @$file -u "Rakarake:h7us3lTlFWVaRTKq16" https://mdf.farm/api/$file +done +