Skip to content

chore: rename modbus meter to mbmd (#11665) #121

chore: rename modbus meter to mbmd (#11665)

chore: rename modbus meter to mbmd (#11665) #121

Workflow file for this run

name: Deploy data to website
env:
GO_VERSION: ^1.21
on:
push:
branches: [master]
paths: ["templates/**"]
workflow_dispatch:
jobs:
brandupdate:
name: Deploy data to website
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}
id: go
- name: Build docs
run: make install docs
- name: Remove .gitignore to allow brands.json to be committed
run: rm templates/evcc.io/.gitignore
- name: Deploy to evcc.io repo
uses: peaceiris/actions-gh-pages@v3
with:
personal_token: ${{ secrets.GH_TOKEN }}
publish_dir: ./templates/evcc.io/
external_repository: evcc-io/evcc.io
publish_branch: main
destination_dir: data
allow_empty_commit: false
commit_message: Brand data update
if: ${{ success() }}