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