Add drone config
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
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
|
Loading…
Reference in New Issue