modified: .gitea/workflows/service.zigbee2mqtt.yml modified: README.md modified: scripts/auto-update.sh
This commit is contained in:
@@ -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}}"
|
||||||
@@ -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
0
scripts/auto-update.sh
Normal file → Executable file
Reference in New Issue
Block a user