Commit d450a313 authored by Johannes Winter's avatar Johannes Winter 💫

initial

parent 6171d2d0
stages:
- deploy
variables:
EMAIL: "status@ecobytes.net"
deploy-prod:
image: ilyasemenov/gitlab-ci-git-push
stage: deploy
environment:
name: production
url: $APP_NAME
only:
- master
script:
- git-push ssh://dokku@dokku.ecobytes.net:22/$APP_NAME
- ssh dokku@dokku.ecobytes.net config:set --no-restart $APP_NAME DOKKU_LETSENCRYPT_EMAIL=$EMAIL
- ssh dokku@dokku.ecobytes.net letsencrypt $APP_NAME
FROM node:alpine
WORKDIR /usr/src/app
RUN apk update && apk add nodejs git
RUN npm install -g webpro/reveal-md
RUN mkdir -p /usr/lib/node_modules/reveal-md/node_modules/reveal.js/images
COPY . /usr/src/app/
#EXPOSE 5000
CMD ["sh", "-c", "reveal-md slides.md --theme theme.css --port 5000"]
......@@ -12,5 +12,8 @@ See https://github.com/dokku/dokku/blob/master/docs/community/tutorials/deployin
## content
File with presentation should be called `slides.md`, theme should be called `theme.css`.
## forward from index
`example.com` in `index.html` needs to be manually adapted to `APP_NAME`
File with presentation should be called `slides.md`, theme should be called `theme.css`.
\ No newline at end of file
<meta http-equiv="refresh" content="0; URL='https://example.com/slides.md'" />
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment