Skip to content

Commit

Permalink
Add GitLab CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Granjow committed Apr 10, 2020
1 parent 134a9ea commit 9b4cd51
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@

build:
stage: build
image: granjow/wiki2xhtml:1.0.0
tags:
- linux
- docker
script:
- make
artifacts:
paths:
- html/

deploy:
stage: deploy
image: ubuntu:20.04
tags:
- slowmovideoweb
dependencies:
- build
only:
- master
script:
- rm -rfv /var/www/html/*
- cp -rfvT html/ /var/www/html/
environment:
name: slowmoVideo
url: http://slowmovideo.granjow.net

0 comments on commit 9b4cd51

Please sign in to comment.