mirror of
https://codeberg.org/VnPower/PixivFE
synced 2024-12-06 19:16:23 +01:00
ci: use variables for images in docs step
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
variables:
|
||||
- &alpine_image 'alpine:3.19'
|
||||
- &git_image 'woodpeckerci/plugin-git:latest'
|
||||
- &mkdocs_image 'woodpeckerci/plugin-mkdocs:latest'
|
||||
- path: &docs_path
|
||||
include: ['doc/**', 'mkdocs.yml']
|
||||
|
||||
@@ -11,14 +12,14 @@ when:
|
||||
|
||||
clone:
|
||||
- name: git
|
||||
image: woodpeckerci/plugin-git
|
||||
image: *git_image
|
||||
settings:
|
||||
partial: false
|
||||
depth: 0
|
||||
|
||||
steps:
|
||||
generate-docs:
|
||||
image: woodpeckerci/plugin-mkdocs:latest
|
||||
image: *mkdocs_image
|
||||
settings:
|
||||
verbose: true
|
||||
pip_install_file: doc/requirements.txt
|
||||
|
||||
Reference in New Issue
Block a user