Compare commits
1 Commits
main
...
cnt-deploy
Author | SHA1 | Date | |
---|---|---|---|
|
2ce3f4ff51 |
27
.drone.yml
Normal file
27
.drone.yml
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
---
|
||||||
|
kind: pipeline
|
||||||
|
name: continuous deployment
|
||||||
|
steps:
|
||||||
|
- name: build image
|
||||||
|
image: plugins/docker
|
||||||
|
settings:
|
||||||
|
username:
|
||||||
|
from_secret: docker_reg_username
|
||||||
|
password:
|
||||||
|
from_secret: docker_reg_passwd
|
||||||
|
repo: decentral1se/beta.lumbung.space
|
||||||
|
tags: latest
|
||||||
|
|
||||||
|
- name: deploy stack
|
||||||
|
image: decentral1se/stack-ssh-deploy:latest
|
||||||
|
settings:
|
||||||
|
stack: beta_lumbung_space
|
||||||
|
host: lumbung.space
|
||||||
|
deploy_key:
|
||||||
|
from_secret: drone_ssh_lumbung.space
|
||||||
|
trigger:
|
||||||
|
branch:
|
||||||
|
- main
|
||||||
|
event:
|
||||||
|
exclude:
|
||||||
|
- pull_request
|
11
Dockerfile
11
Dockerfile
@ -1,11 +0,0 @@
|
|||||||
FROM klakegg/hugo:alpine
|
|
||||||
|
|
||||||
RUN apk add --no-cache curl git
|
|
||||||
|
|
||||||
EXPOSE 1313
|
|
||||||
|
|
||||||
COPY . /src/
|
|
||||||
|
|
||||||
ENTRYPOINT ["/bin/bash"]
|
|
||||||
|
|
||||||
CMD ["-c", "hugo server --appendPort='false' --bind 0.0.0.0 --baseUrl='https://beta.lumbung.space' --port='1313' -F"]
|
|
7
Dockerfile.hugo
Normal file
7
Dockerfile.hugo
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
FROM klakegg/hugo:alpine
|
||||||
|
|
||||||
|
RUN apk add --no-cache curl git
|
||||||
|
|
||||||
|
EXPOSE 1313
|
||||||
|
|
||||||
|
COPY . /src/
|
@ -1,5 +1,7 @@
|
|||||||
# living room
|
# living room
|
||||||
|
|
||||||
|
[![Build Status](https://drone.autonomic.zone/api/badges/ruangrupa/living-room/status.svg?ref=refs/heads/main)](https://drone.autonomic.zone/ruangrupa/living-room)
|
||||||
|
|
||||||
> A new attempt to bring together the ideas of the "splash" page, "portal" page
|
> A new attempt to bring together the ideas of the "splash" page, "portal" page
|
||||||
> and a comfortable digital "living room" experience for lumbung[dot]space.
|
> and a comfortable digital "living room" experience for lumbung[dot]space.
|
||||||
> This is a work in progress. The end goal of this is to have a new design and
|
> This is a work in progress. The end goal of this is to have a new design and
|
||||||
|
@ -14,6 +14,14 @@ services:
|
|||||||
start_period: 15s
|
start_period: 15s
|
||||||
volumes:
|
volumes:
|
||||||
- content:/src/content
|
- content:/src/content
|
||||||
|
command: |
|
||||||
|
server
|
||||||
|
--appendPort='false'
|
||||||
|
--bind 0.0.0.0
|
||||||
|
--baseUrl='https://beta.lumbung.space'
|
||||||
|
--port='1313'
|
||||||
|
--buildFuture
|
||||||
|
--watch
|
||||||
deploy:
|
deploy:
|
||||||
update_config:
|
update_config:
|
||||||
failure_action: rollback
|
failure_action: rollback
|
||||||
|
6
makefile
6
makefile
@ -9,4 +9,8 @@ gen:
|
|||||||
lumbunglib-cal && \
|
lumbunglib-cal && \
|
||||||
OUTPUT_DIR=content/video lumbunglib-vid
|
OUTPUT_DIR=content/video lumbunglib-vid
|
||||||
|
|
||||||
.PHONY: serve
|
push-hugo:
|
||||||
|
@docker build -t decentral1se/beta.lumbung.space -f Dockerfile.hugo . && \
|
||||||
|
docker push decentral1se/beta.lumbung.space
|
||||||
|
|
||||||
|
.PHONY: serve gen push-hugo
|
||||||
|
Loading…
Reference in New Issue
Block a user