chore: fix doc publishing CI step.
This commit is contained in:
parent
8a466a106b
commit
afccd9a7ab
1 changed files with 10 additions and 3 deletions
13
.drone.yml
13
.drone.yml
|
@ -500,14 +500,21 @@ steps:
|
||||||
|
|
||||||
- name: docs release
|
- name: docs release
|
||||||
image: minio/mc
|
image: minio/mc
|
||||||
|
environment:
|
||||||
|
S3_ENDPOINT:
|
||||||
|
from_secret: S3_ENDPOINT
|
||||||
|
ACCESS_KEY:
|
||||||
|
from_secret: ACCESS_KEY_ID
|
||||||
|
SECRET_KEY:
|
||||||
|
from_secret: SECRET_ACCESS_KEY
|
||||||
depends_on:
|
depends_on:
|
||||||
- build artifacts
|
- build artifacts
|
||||||
commands:
|
commands:
|
||||||
- mc alias set store ${S3_ENDPOINT} ${ACCESS_KEY} ${SECRET_KEY}
|
- mc alias set store $${S3_ENDPOINT} $${ACCESS_KEY} $${SECRET_KEY}
|
||||||
- mc mb -p store/docs.harton.nz
|
- mc mb -p store/docs.harton.nz
|
||||||
- mc anonymous set download store/docs.harton.nz
|
- mc anonymous set download store/docs.harton.nz
|
||||||
- mc mirror doc/ store/docs.harton.nz/$${DRONE_REPO}/$${DRONE_TAG}
|
- mc mirror --overwrite doc/ store/docs.harton.nz/$${DRONE_REPO}/$${DRONE_TAG}
|
||||||
- mc mirror doc/ store/docs.harton.nz/$${DRONE_REPO}
|
- mc mirror --overwrite doc/ store/docs.harton.nz/$${DRONE_REPO}
|
||||||
|
|
||||||
# - name: hex release
|
# - name: hex release
|
||||||
# image: code.harton.nz/james/asdf_container:latest
|
# image: code.harton.nz/james/asdf_container:latest
|
||||||
|
|
Loading…
Reference in a new issue