Compare commits
2 commits
474b97e27a
...
8af65a1e77
Author | SHA1 | Date | |
---|---|---|---|
8af65a1e77 | |||
6a7a5ce04e |
3 changed files with 11 additions and 21 deletions
|
@ -14,7 +14,7 @@ jobs:
|
|||
- name: Update dependencies
|
||||
run: |
|
||||
nix flake update
|
||||
nix-shell ./home/programs/nvim/update-plugins.sh
|
||||
env NIX_PATH=nixpkgs=$(nix flake metadata github:nixos/nixpkgs/nixos-unstable --json | jq -r .path) nix-shell ./home/programs/nvim/update-plugins.sh
|
||||
- uses: https://github.com/stefanzweifel/git-auto-commit-action@v5
|
||||
with:
|
||||
commit_message: "[automation] Update flake"
|
||||
|
|
10
home/programs/scripts/bdfr
Executable file
10
home/programs/scripts/bdfr
Executable file
|
@ -0,0 +1,10 @@
|
|||
#!/usr/bin/env nu
|
||||
|
||||
def main [
|
||||
--subreddit: string
|
||||
--sort: string = "hot"
|
||||
] {
|
||||
let url = $"https://media-browser.internal.kempkens.network/management/jobs/BdfrDownload/run?args[subreddit]=($subreddit)&args[sort]=($sort)"
|
||||
|
||||
http get $url | ignore
|
||||
}
|
|
@ -1,20 +0,0 @@
|
|||
#!/usr/bin/env nix-shell
|
||||
#!nix-shell -i bash -p git fd ripgrep
|
||||
# shellcheck disable=SC1008
|
||||
|
||||
if git remote -v | rg -q nedeco; then
|
||||
nix path-info -r "$(fd '^flake-profile-[a-z0-9]+$' ./.direnv/)" | while read -r dir; do
|
||||
echo "Uploading $dir ..."
|
||||
|
||||
if attic push nedeco:devshells "$dir"; then
|
||||
continue
|
||||
else
|
||||
echo "Ignoring error ..."
|
||||
fi
|
||||
done
|
||||
else
|
||||
echo "Doesn't look like a work repository"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# vim: set ft=sh:
|
Loading…
Reference in a new issue