|
@ -604,17 +604,14 @@ name: docs |
|
|
|
|
|
|
|
|
platform: |
|
|
platform: |
|
|
os: linux |
|
|
os: linux |
|
|
arch: amd64 |
|
|
|
|
|
|
|
|
|
|
|
workspace: |
|
|
|
|
|
base: /go |
|
|
|
|
|
path: src/code.gitea.io/gitea |
|
|
|
|
|
|
|
|
arch: arm64 |
|
|
|
|
|
|
|
|
steps: |
|
|
steps: |
|
|
- name: build-docs |
|
|
- name: build-docs |
|
|
pull: always |
|
|
pull: always |
|
|
image: webhippie/hugo:latest |
|
|
|
|
|
|
|
|
image: plugins/hugo:latest |
|
|
commands: |
|
|
commands: |
|
|
|
|
|
- apk add --no-cache make bash curl |
|
|
- cd docs |
|
|
- cd docs |
|
|
- make trans-copy |
|
|
- make trans-copy |
|
|
- make clean |
|
|
- make clean |
|
@ -622,7 +619,7 @@ steps: |
|
|
|
|
|
|
|
|
- name: publish-docs |
|
|
- name: publish-docs |
|
|
pull: always |
|
|
pull: always |
|
|
image: lucap/drone-netlify:latest |
|
|
|
|
|
|
|
|
image: techknowlogick/drone-netlify:latest |
|
|
settings: |
|
|
settings: |
|
|
path: docs/public/ |
|
|
path: docs/public/ |
|
|
site_id: d2260bae-7861-4c02-8646-8f6440b12672 |
|
|
site_id: d2260bae-7861-4c02-8646-8f6440b12672 |
|
|