circe-serenity/.gitlab-ci.yml

30 lines
540 B
YAML
Raw Permalink Normal View History

2020-05-14 07:52:59 +02:00
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