Skip to content

Commit 22605ee

Browse files
committed
WIP GH
1 parent db4b366 commit 22605ee

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -81,17 +81,13 @@ jobs:
8181
with:
8282
gpg_private_key: ${{ secrets.GPG_KEY1 }}
8383
passphrase: ${{ secrets.GPG_PASSPHRASE1 }}
84-
- name: Create distribution repository
85-
run: |
86-
find .
87-
for file in debian/artifacts/*.changes; do reprepro -b debian/artifacts include current $file;done
88-
reprepro -b debian/artifacts export
89-
- name: Commit changes if any
84+
- name: Create distribution repository and commit to data branch
9085
run: |
9186
git checkout --orphan data
9287
git rm -rf --cached .
93-
mkdir -p data
94-
cp -rf ${{ github.workspace }}/debian/artifacts/{pool,dists} data/
88+
# mkdir -p data
89+
for file in debian/artifacts/*.changes; do reprepro -b debian/artifacts include current $file;done
90+
reprepro -b debian/artifacts --outdir data/ export
9591
git config --global user.name "github-actions"
9692
git config --global user.email "[email protected]"
9793
git add data/.

0 commit comments

Comments
 (0)