Skip to content

Commit

Permalink
chore: fix workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
benmezger committed Jan 14, 2024
1 parent ccf3865 commit 81ea6fe
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

0 comments on commit 81ea6fe

Please sign in to comment.