Changes to be committed:
All checks were successful
deploy / deploy (push) Successful in 2s

modified:   .gitea/workflows/service.zigbee2mqtt.yml
	modified:   README.md
	modified:   scripts/auto-update.sh
This commit is contained in:
2024-08-24 01:14:57 +01:00
parent 00ad0894b9
commit cc9cc282d3
3 changed files with 11 additions and 4 deletions

View File

@@ -4,6 +4,6 @@ jobs:
deploy: deploy:
runs-on: "homesrv01" runs-on: "homesrv01"
steps: steps:
- name: Portainer stack zigbee2mqtt webhook - name: Portainer stack zigbee2mqtt webhook
run: | run: |
curl -X POST "${{secrets.PORTAINER_ZIGBEE2MQTT_WEBHOOK_URL}}" curl -X POST "${{secrets.PORTAINER_ZIGBEE2MQTT_WEBHOOK_URL}}"

View File

@@ -77,7 +77,6 @@ systemctl restart ssh
``` ```
## Update ## Update
```bash ```bash
scripts/auto-update.sh scripts/auto-update.sh
``` ```
@@ -86,6 +85,14 @@ cron
ln -s $PWD/scripts/auto-update.sh /etc/cron.daily/auto-update ln -s $PWD/scripts/auto-update.sh /etc/cron.daily/auto-update
``` ```
check logs
```bash
journalctl -r -t auto-update
```
## Services ## Services
### External volumes ### External volumes

0
scripts/auto-update.sh Normal file → Executable file
View File