Commit ebc4567b authored by Seblu's avatar Seblu
Browse files

CI improvments

- Only build when PKGBUILD are changed
- Remove not needed chmod
parent ce8f8133
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -13,7 +13,6 @@ makepkg:
    - pacman --sync --refresh --sysupgrade --noconfirm
    - pacman --sync --noconfirm base-devel devtools
    - useradd --home-dir /root --groups root,wheel --shell /bin/bash build
    - chmod 770 /root
  script:
    - ulimit -c 0
    - sudo -u build -- makepkg --syncdeps
@@ -22,6 +21,9 @@ makepkg:
    expire_in: 1 week
    paths:
      - "*.pkg.tar.xz"
  only:
    changes:
      - PKGBUILD

commitpkg:
  stage: deploy