Merge branch 'main' of git.qx9.de:websites/qx9.de into main
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
30
.drone.yml
Normal file
30
.drone.yml
Normal file
@@ -0,0 +1,30 @@
|
||||
---
|
||||
kind: pipeline
|
||||
name: build
|
||||
|
||||
steps:
|
||||
- name: submodules
|
||||
image: alpine/git
|
||||
commands:
|
||||
- git submodule update --init --recursive --remote
|
||||
|
||||
- name: hugo
|
||||
image: hugomods/hugo:latest
|
||||
pull: always
|
||||
commands:
|
||||
- echo "Checking Hugo version."
|
||||
- hugo version
|
||||
- cd /drone/src
|
||||
- hugo
|
||||
- ls -al /drone/src/public
|
||||
|
||||
- name: docker
|
||||
# See docs at https://plugins.drone.io/plugins/docker
|
||||
image: plugins/docker
|
||||
settings:
|
||||
username:
|
||||
from_secret: gitea_username
|
||||
password:
|
||||
from_secret: gitea_password
|
||||
repo: git.qx9.de/websites/qx9.de
|
||||
registry: git.qx9.de
|
||||
2
Dockerfile
Normal file
2
Dockerfile
Normal file
@@ -0,0 +1,2 @@
|
||||
FROM nginx:alpine
|
||||
COPY --chown=nginx:nginx public /usr/share/nginx/html
|
||||
15
docker-compose.yml
Normal file
15
docker-compose.yml
Normal file
@@ -0,0 +1,15 @@
|
||||
version: "3.3"
|
||||
|
||||
services:
|
||||
qx9de:
|
||||
image: git.qx9.de/websites/qx9.de:latest
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- rproxy
|
||||
labels:
|
||||
- traefik.enable=true
|
||||
|
||||
networks:
|
||||
rproxy:
|
||||
external:
|
||||
name: rproxy
|
||||
Reference in New Issue
Block a user