diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..17acee3 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,29 @@ +image: silex/emacs:26.3-alpine-dev + +stages: + - package + - deploy + +package: + stage: package + before_script: + - rm -rf public/ + - mkdir public/ + script: > + emacs --batch --load package --load package-x --funcall package-initialize + --eval "(let ((package-archive-upload-base \"public/\")) + (package-upload-file \"circe-serenity.el\"))" + artifacts: + paths: + - public/ + +pages: + stage: deploy + only: + - master + dependencies: + - package + script: echo "Done" + artifacts: + paths: + - public