Add drone config
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
a418e81949
commit
7d3a49f833
|
@ -0,0 +1,24 @@
|
||||||
|
---
|
||||||
|
kind: pipeline
|
||||||
|
type: docker
|
||||||
|
name: presentation-deploy
|
||||||
|
|
||||||
|
image_pull_secrets:
|
||||||
|
- docker_credentials
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: build
|
||||||
|
image: hub.theedgeofrage.com/revealjs-builder
|
||||||
|
|
||||||
|
- name: deploy
|
||||||
|
image: plugins/s3
|
||||||
|
settings:
|
||||||
|
access_key:
|
||||||
|
from_secret: aws_access_key_id
|
||||||
|
secret_key:
|
||||||
|
from_secret: aws_secret_access_key
|
||||||
|
bucket: pavle-presentations
|
||||||
|
source: _build/revealjs/**/*
|
||||||
|
target: /serverless
|
||||||
|
path_style: true
|
||||||
|
endpoint: https://minio.theedgeofrage.com
|
|
@ -0,0 +1,6 @@
|
||||||
|
FROM python:3.8-slim
|
||||||
|
|
||||||
|
WORKDIR /app
|
||||||
|
ENTRYPOINT ["sphinx-build", "-M", "revealjs", ".", "_build"]
|
||||||
|
|
||||||
|
RUN pip install sphinx-revealjs sphinxcontrib-gtagjs
|
2
Makefile
2
Makefile
|
@ -16,4 +16,4 @@ help:
|
||||||
# Catch-all target: route all unknown targets to Sphinx using the new
|
# Catch-all target: route all unknown targets to Sphinx using the new
|
||||||
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
|
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
|
||||||
%: Makefile
|
%: Makefile
|
||||||
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
|
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
|
||||||
|
|
Loading…
Reference in New Issue