forked from Freifunk-Troisdorf/site
tesing next build
This commit is contained in:
parent
96ffb86e6a
commit
be6e7fea21
@ -52,19 +52,23 @@ pipeline:
|
||||
- echo "${TARGET}" > gluon/output/${CI_COMMIT_BRANCH}/images/factory/${TARGET}
|
||||
- ls -alh gluon/output/${CI_COMMIT_BRANCH}/images/factory
|
||||
|
||||
publish:
|
||||
image: woodpeckerci/plugin-gitea-release
|
||||
upload:
|
||||
image: appleboy/drone-scp
|
||||
settings:
|
||||
base_url: https://git.freifunk-rhein-sieg.net
|
||||
files:
|
||||
- gluon/output/next/*
|
||||
api_key:
|
||||
from_secret: api_key
|
||||
target: next
|
||||
prerelease: true
|
||||
host: 46.4.138.183
|
||||
user: fwupload
|
||||
key:
|
||||
from_secret: ssh-key
|
||||
strip_components: 2
|
||||
target: /srv/fwuploads-testing/troisdorf/testing/next/
|
||||
source: gluon/output/next/*
|
||||
when:
|
||||
event: tag
|
||||
event: push
|
||||
branch: next
|
||||
|
||||
matrix:
|
||||
TARGET:
|
||||
- ramips-mt7621
|
||||
|
||||
depends_on:
|
||||
- prepare_next
|
20
.woodpecker/prepare_next.yml
Normal file
20
.woodpecker/prepare_next.yml
Normal file
@ -0,0 +1,20 @@
|
||||
---
|
||||
platform: linux/arm64
|
||||
|
||||
skip_clone: true
|
||||
|
||||
pipeline:
|
||||
prepare:
|
||||
image: appleboy/drone-ssh
|
||||
settings:
|
||||
host: 46.4.138.183
|
||||
username: fwupload
|
||||
key:
|
||||
from_secret: ssh-key
|
||||
port: 22
|
||||
command_timeout: 120m
|
||||
script:
|
||||
- rm -rf /srv/fwuploads-testing/troisdorf/testing/*
|
||||
- mkdir -p /srv/fwuploads-testing/troisdorf/testing/
|
||||
when:
|
||||
branch: next
|
Loading…
Reference in New Issue
Block a user