mirror of
https://github.com/containrrr/watchtower.git
synced 2025-12-14 06:06:38 +01:00
move documentation from readme to gh pages
This commit is contained in:
parent
985a922099
commit
34b765960c
4 changed files with 61 additions and 451 deletions
|
|
@ -1,6 +1,10 @@
|
|||
version: 2.1
|
||||
|
||||
executors:
|
||||
py:
|
||||
docker:
|
||||
- image: circleci/python:latest
|
||||
working_directory: ~/repo
|
||||
go:
|
||||
docker:
|
||||
- image: circleci/golang:latest
|
||||
|
|
@ -50,6 +54,15 @@ workflows:
|
|||
ignore: /.*/
|
||||
tags:
|
||||
only: /^v[0-9]+(\.[0-9]+)*$/
|
||||
- publish-docs:
|
||||
requires:
|
||||
- testing
|
||||
- linting
|
||||
filters:
|
||||
branches:
|
||||
ignore: /.*/
|
||||
tags:
|
||||
only: /^v[0-9]+(\.[0-9]+)*$/
|
||||
jobs:
|
||||
checkout:
|
||||
executor: go
|
||||
|
|
@ -203,3 +216,18 @@ jobs:
|
|||
-e DOCKER_REPOSITORY=containrrr/watchtower \
|
||||
-e GIT_BRANCH=master \
|
||||
lsiodev/readme-sync bash -c 'node sync'
|
||||
publish-docs:
|
||||
executor: py
|
||||
steps:
|
||||
- attach_workspace:
|
||||
at: .
|
||||
- run:
|
||||
name: Install prerequisites
|
||||
command: |
|
||||
pip install \
|
||||
mkdocs \
|
||||
mkdocs-material \
|
||||
md-toc
|
||||
- run:
|
||||
name: Generate and publish
|
||||
command: mkdocs gh-deploy
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue