30 lines
540 B
YAML
30 lines
540 B
YAML
|
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
|