Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SolidBase
farmhacks
Commits
3b26d6a1
Commit
3b26d6a1
authored
Feb 02, 2020
by
Johannes Winter
Browse files
CI/CD
parent
da1fbece
Pipeline
#367
passed with stage
in 1 minute and 48 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
0 → 100644
View file @
3b26d6a1
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
Dockerfile
0 → 100644
View file @
3b26d6a1
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"]
index.html
View file @
3b26d6a1
<meta
http-equiv=
"refresh"
content=
"0; URL='http://farmhacks.allmende.io/
farmhack
s.md'"
/>
<meta
http-equiv=
"refresh"
content=
"0; URL='http
s
://farmhacks.allmende.io/
slide
s.md'"
/>
farmhack
s.md
→
slide
s.md
View file @
3b26d6a1
File moved
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment