diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml new file mode 100644 index 0000000..d5f8add --- /dev/null +++ b/.gitea/workflows/deploy.yml @@ -0,0 +1,16 @@ +name: deploy +on: [push] + +jobs: + deploy: + runs-on: "homesrv01" + steps: + + - name: notify zigbee2mqtt service + run: | + curl -X POST "${{secrets.PORTAINER_STACKS_ZIGBEE2MQTT_WEBHOOK_URL}}" + + # - name: notify wyoming service + # run: | + # curl -X POST "${{secrets.PORTAINER_STACKS_WYOMING_WEBHOOK_URL}}" + diff --git a/.gitea/workflows/service.zigbee2mqtt.yml b/.gitea/workflows/service.zigbee2mqtt.yml deleted file mode 100644 index f1fb33c..0000000 --- a/.gitea/workflows/service.zigbee2mqtt.yml +++ /dev/null @@ -1,10 +0,0 @@ -name: deploy zigbee2mqtt -on: [push] - -jobs: - deploy: - runs-on: "homesrv01" - steps: - - name: Portainer webhook - run: | - curl -X POST "${{secrets.PORTAINER_ZIGBEE2MQTT_WEBHOOK_URL}}" \ No newline at end of file diff --git a/scripts/auto-update.sh b/scripts/auto-update.sh index f69513a..4674fe8 100755 --- a/scripts/auto-update.sh +++ b/scripts/auto-update.sh @@ -5,8 +5,8 @@ doWork(){ apt upgrade -y $scriptPath/../services/code-server/docker-run.sh $scriptPath/../services/nginx/docker-run.sh - $scriptPath/../services/wyoming-faster-whisper/docker-run.sh - $scriptPath/../services/wyoming-piper/docker-run.sh + #$scriptPath/../services/wyoming-faster-whisper/docker-run.sh + #$scriptPath/../services/wyoming-piper/docker-run.sh docker image prune -f } doWork 2>&1 | logger -s -t "auto-update"