Update '.woodpecker.yml'
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
f8cf0f9ad2
commit
c319798d25
1 changed files with 5 additions and 12 deletions
|
@ -25,7 +25,7 @@ pipeline:
|
||||||
|
|
||||||
docs:
|
docs:
|
||||||
group: ci
|
group: ci
|
||||||
image: julia:${JULIA_VERSION}-alpine3.17
|
image: julia:${JULIA_VERSION}
|
||||||
when:
|
when:
|
||||||
event: push
|
event: push
|
||||||
branch: master
|
branch: master
|
||||||
|
@ -38,16 +38,9 @@ pipeline:
|
||||||
- DOCS_REMOTE_KEY
|
- DOCS_REMOTE_KEY
|
||||||
- DOCS_KEY
|
- DOCS_KEY
|
||||||
- DOCS_PUBKEY
|
- DOCS_PUBKEY
|
||||||
|
- project_access_token
|
||||||
commands:
|
commands:
|
||||||
- apk add git openssh-client rsync
|
- julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
|
||||||
- mkdir -p $HOME/.ssh
|
- julia --project=docs/ -e 'using Pkg; Pkg.add(;url="https://github.com/JuliaDocs/Documenter.jl", rev="b50d74bc02d6883ef36aa19f19129e7a2d675ea9")'
|
||||||
- echo "$${DOCS_KEY}" >> $HOME/.ssh/id_rsa
|
- julia --project=docs/ docs/make.jl
|
||||||
- ssh-keyscan -t rsa $${DOCS_REMOTE_SERVER} >> $HOME/.ssh/known_hosts
|
|
||||||
- chmod 0600 $HOME/.ssh/id_rsa
|
|
||||||
- git config --global user.email "woodpecker@millironx.com"
|
|
||||||
- git config --global user.name "woodpecker-bot"
|
|
||||||
- git config --global --add safe.directory /woodpecker/src
|
|
||||||
- julia --color=yes --project=docs -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
|
|
||||||
- julia --color=yes --project=docs docs/make.jl
|
|
||||||
- "rsync -r --exclude .git docs/build/* $${DOCS_REMOTE_USER}@$${DOCS_REMOTE_SERVER}:$${DOCS_REMOTE_DIR}"
|
|
||||||
|
|
Loading…
Reference in a new issue