From 8396ade74f7882b74c1b165dd38bcca512ee7ea6 Mon Sep 17 00:00:00 2001 From: Jan Grewe <jan@faked.org> Date: Mon, 27 May 2024 21:57:06 +0200 Subject: [PATCH] publish --- .gitlab-ci.yml | 8 ++++++++ files/etc/config/openwisp | 3 +++ 2 files changed, 11 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index bfe846a..a04521a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,5 +1,6 @@ stages: - build + - publish variables: OPENWRT_VERSION: 23.05.3 @@ -45,3 +46,10 @@ cudy_re3000-v1: TARGET: mediatek SUBTARGET: filogic PROFILE: cudy_re3000-v1 + +publish: + stage: publish + script: + - sudo rsync -avrhW --delete bin/targets/mediatek/filogic/*.bin /srv/www/faked.org/openwrt/ + tags: + - shell diff --git a/files/etc/config/openwisp b/files/etc/config/openwisp index 7cdd022..181e08b 100644 --- a/files/etc/config/openwisp +++ b/files/etc/config/openwisp @@ -1,5 +1,8 @@ config controller 'http' option url 'https://openwisp.faked.org' option shared_secret 'fSIRdSdsqoKYhCYovE1zareJhkOKMtcL' + default_hostname 'openwrt' mac_interface 'br-lan' management_interface 'br-lan' + option uuid '' + option key '' -- GitLab