use arm drone agent for docs (#9776)
parent
7e44995a51
commit
6b1fa12359
11
.drone.yml
11
.drone.yml
|
@ -604,17 +604,14 @@ name: docs
|
||||||
|
|
||||||
platform:
|
platform:
|
||||||
os: linux
|
os: linux
|
||||||
arch: amd64
|
arch: arm64
|
||||||
|
|
||||||
workspace:
|
|
||||||
base: /go
|
|
||||||
path: src/code.gitea.io/gitea
|
|
||||||
|
|
||||||
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
|
||||||
|
|
Loading…
Reference in New Issue