Commit 51b04d8c authored by Seblu's avatar Seblu
Browse files

Add gitlab CI

parent b3e7adb9
Loading
Loading
Loading
Loading

.gitlab-ci.yml

0 → 100644
+23 −0
Original line number Diff line number Diff line
---

makepkg:
  stage: build
  script:
    - seblu-build
  artifacts:
    name: $CI_PROJECT_NAME-$CI_COMMIT_REF_NAME
    expire_in: 1 week
    paths:
      - config.x86_64
      - "*.pkg.tar.xz"

commitpkg:
  stage: deploy
  script:
    - eval $(ssh-agent -s)
    - echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add - > /dev/null
    - seblu-push
  only:
    refs:
      - tags
      - web