From 81ea6fe787889da3dc057b3c9553f70d6a7d06de Mon Sep 17 00:00:00 2001 From: Ben Mezger Date: Sun, 14 Jan 2024 22:24:37 +0100 Subject: [PATCH] chore: fix workflow --- .github/workflows/build.yaml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 82a6c53..9269d3b 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -50,15 +50,11 @@ jobs: chown -R nonroot:nonroot $pkgsdir - name: Build packages run: | - sudo -u nonroot just makepkg_flags=$makepkg_flags pkgsdir=$pkgsdir all + sudo -u nonroot just makepkg_flags=$makepkg_flags all - name: Show sedspkg diff run: | cd $pkgsdir sudo -u nonroot git diff - - name: Update sedspkg database - run: | - cd $pkgsdir - bash ./build-db.sh - name: Commit and release run: | cd $pkgsdir @@ -68,6 +64,4 @@ jobs: git config --global user.name "Ben Mezger" git remote set-url origin https://oauth:${{ secrets.GITLAB_SECRET_TOKEN }}@gitlab.com/benmezger/sedspkgs.git - git add . - git commit -am "Automatic package release %(date)" - git push origin main + sudo -u nonroot just push-packages