Skip to content

Commit d9cffb0

Browse files
committed
move db to new dir
1 parent ccff2ca commit d9cffb0

File tree

3 files changed

+1
-2
lines changed

3 files changed

+1
-2
lines changed

.github/workflows/manual.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@ jobs:
6464
fileName: "*.zst"
6565
tarBall: false
6666
zipBall: false
67-
out-file-path: "bkg"
6867

6968
- name: Dry run
7069
id: update

.github/workflows/update.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ jobs:
5656
fileName: "*.zst"
5757
tarBall: false
5858
zipBall: false
59-
out-file-path: "bkg"
6059

6160
- name: Dry run
6261
id: update

src/test/update.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
root="$1"
99
[[ -n "$root" && ! "${root:0:2}" =~ -(m|d) ]] && shift || root="."
1010
[ -d "$root/.git" ] || { gh auth status &>/dev/null && gh repo clone "${GITHUB_OWNER:-ipitio}/${GITHUB_REPO:-backage}" "$root" -- --depth=1 -b "$GITHUB_BRANCH" --single-branch || git clone --depth=1 -b "$GITHUB_BRANCH" --single-branch "https://$([ -n "$GITHUB_TOKEN" ] && echo "$GITHUB_TOKEN@" || echo "")github.com/${GITHUB_OWNER:-ipitio}/${GITHUB_REPO:-backage}.git" "$root"; }
11+
find . -maxdepth 1 -type f -name '*.zst' -exec mv {} "$root"/ \; 2>/dev/null || true
1112
pushd "$root" || exit 1
1213
pushd src || exit 1
1314
source bkg.sh

0 commit comments

Comments
 (0)