Skip to content

Commit

Permalink
v4
Browse files Browse the repository at this point in the history
  • Loading branch information
kellerza committed Feb 28, 2024
1 parent 0c1b420 commit 8e5cbbf
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 13 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
ruff:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: chartboost/ruff-action@v1
with:
#src: "./src"
Expand All @@ -36,7 +36,7 @@ jobs:
name: Check black
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-python@v3
with:
python-version: ${{ env.DEFAULT_PYTHON }}
Expand All @@ -49,7 +49,7 @@ jobs:
name: Check pylint, mypy & pydocstyle
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-python@v3
with:
python-version: ${{ env.DEFAULT_PYTHON }}
Expand All @@ -75,7 +75,7 @@ jobs:
env:
PYTHON: ${{ matrix.python-version }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
Expand All @@ -100,7 +100,7 @@ jobs:
# IMPORTANT: this permission is mandatory for trusted publishing
id-token: write
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Python ${{ env.DEFAULT_PYTHON }}
uses: actions/setup-python@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: 18
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/deploy-multi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
version: ${{ steps.release.outputs.version }}
steps:
- name: ⤵️ Check out code from GitHub
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: 🚀 Run add-on information
id: information
uses: frenck/[email protected]
Expand Down Expand Up @@ -68,7 +68,7 @@ jobs:
architecture: ${{ fromJson(needs.information.outputs.architectures) }}
steps:
- name: ⤵️ Check out code from GitHub
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Local copy of sunsynk
run: |
ls
Expand Down Expand Up @@ -169,7 +169,7 @@ jobs:
contents: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Point edge to the new ref
run: |
sed -i 's/version:.*/version: "${{ needs.information.outputs.version }}"/g' hass-addon-sunsynk-edge/config.yaml
Expand Down
11 changes: 7 additions & 4 deletions www/docs/guide/standalone-deployment.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ services:
```
#### aarch64
``` yaml
services:
sunsynk-multi:
Expand All @@ -106,6 +107,7 @@ services:
```
#### armv7
``` yaml
services:
sunsynk-multi:
Expand All @@ -115,13 +117,14 @@ services:
- ${PWD}/options.yaml:/data/options.yaml
```
### Docker CLI examples:
### Docker CLI examples
Below are examples using the docker CLI.
> ℹ️ **Note:** Replace ${PWD} with the path to the location of your `options.yaml` file.


#### amd64

``` bash
docker run -d --name sunsynk-multi \
--restart unless-stopped \
Expand All @@ -130,6 +133,7 @@ ghcr.io/kellerza/hass-addon-sunsynk-multi/amd64:stable
```

#### aarch64

``` bash
docker run -d --name sunsynk-multi \
--restart unless-stopped \
Expand All @@ -138,11 +142,10 @@ ghcr.io/kellerza/hass-addon-sunsynk-multi/aarch64:stable
```

#### armv7

``` bash
docker run -d --name sunsynk-multi \
--restart unless-stopped \
-v ${PWD}/options.yaml:/data/options.yaml \
ghcr.io/kellerza/hass-addon-sunsynk-multi/armv7:stable
```


0 comments on commit 8e5cbbf

Please sign in to comment.