Add GitLab CI configuration
This commit is contained in:
parent
6dbc094475
commit
7a2a4523aa
1 changed files with 29 additions and 0 deletions
29
.gitlab-ci.yml
Normal file
29
.gitlab-ci.yml
Normal file
|
@ -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
|
Loading…
Reference in a new issue