Automating Deploy process, doesn't update repo though.
parent
40f4efa1fe
commit
b65694dd87
@ -0,0 +1,18 @@
|
||||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: default
|
||||
trigger:
|
||||
branch:
|
||||
- master
|
||||
steps:
|
||||
- name: docker
|
||||
image: plugins/docker
|
||||
settings:
|
||||
registry: git.habedieeh.re
|
||||
username: shruub
|
||||
password:
|
||||
from_secret: docker_pw
|
||||
repo: "git.habedieeh.re/shruub/no-js.club
|
||||
dockerfile: Dockerfile
|
||||
tags: latest
|
@ -0,0 +1,6 @@
|
||||
FROM klakegg/hugo:0.107.0-onbuild AS hugo
|
||||
|
||||
# Using nginx now because it's easier then darkhttpd. Might switch later, not sure though.
|
||||
|
||||
FROM nginx
|
||||
COPY --from=hugo /target /usr/share/nginx/html
|
|
Loading…
Reference in New Issue