diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index cf3a783..57e7055 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -2,23 +2,12 @@ image: java:8
 
 stages:
   - build
-  - deploy
-
-before_script:
-  - chmod +x mvnw
 
 build:
   stage: build
-  script: ./mvnw package
+  script: gradle oxt
   artifacts:
     paths:
-      - target/demo-0.0.1-SNAPSHOT.jar
+      - build/distributions/w2phtml.oxt
+      - build/lib/w2phtml.jar
 
-production:
-  stage: deploy
-  script:
-  - curl --location "https://cli.run.pivotal.io/stable?release=linux64-binary&source=github" | tar zx
-  - ./cf login -u $CF_USERNAME -p $CF_PASSWORD -a api.run.pivotal.io
-  - ./cf push
-  only:
-  - master