diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a6f2b10 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +keys.txt \ No newline at end of file diff --git a/deb-upload b/deb-upload index 2167083..2723a6b 100755 --- a/deb-upload +++ b/deb-upload @@ -1,3 +1,5 @@ #!/bin/bash -curl --user Archive:d8e818c6f307e1a08973ff6b281255815bd95b1d --upload-file $1 https://gitea.henriserverack.com/api/packages/Archive-Team/debian/pool/bullseye/main/upload +key=$(sed -n 1p keys.txt) + +curl --user Archive:$key --upload-file $1 https://gitea.henriserverack.com/api/packages/Archive-Team/debian/pool/bullseye/main/upload echo "Upload Complete"