Fix woodpecker ci syntax of using secrets
All checks were successful
ci/woodpecker/push/build Pipeline was successful
All checks were successful
ci/woodpecker/push/build Pipeline was successful
This commit is contained in:
parent
2370e1afa8
commit
a974288784
|
@ -1,12 +1,17 @@
|
||||||
steps:
|
steps:
|
||||||
- name: build_all
|
- name: build_all
|
||||||
image: debian-pack:0.4
|
image: debian-pack:0.4
|
||||||
secrets:
|
when:
|
||||||
- WEBDAV_PASS
|
- event: push
|
||||||
- WEBDAV_USER
|
branch: main
|
||||||
|
platform: [ "linux/amd64" ]
|
||||||
environment:
|
environment:
|
||||||
WEBDAV_UPLOAD_TARGET: https://dufs.leafee98.com/apt/income
|
WEBDAV_UPLOAD_TARGET: https://dufs.leafee98.com/apt/income
|
||||||
APT_BASE: https://dufs.leafee98.com/apt
|
APT_BASE: https://dufs.leafee98.com/apt
|
||||||
|
WEBDAV_PASS:
|
||||||
|
from_secret: WEBDAV_PASS
|
||||||
|
WEBDAV_USER:
|
||||||
|
from_secret: WEBDAV_USER
|
||||||
commands:
|
commands:
|
||||||
- rm -f /tmp/apt-file-exists-cache.json
|
- rm -f /tmp/apt-file-exists-cache.json
|
||||||
- ./script/build.sh
|
- ./script/build.sh
|
||||||
|
|
Loading…
Reference in a new issue