File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -151,13 +151,12 @@ jobs:
151
151
152
152
update-addon-repo :
153
153
name : Update Home Assistant Addon
154
- needs : push-multiarch # ensures this only runs after images are pushed
154
+ needs : push-multiarch
155
155
runs-on : ubuntu-latest
156
156
steps :
157
157
- name : Checkout frameos-home-assistant-addon
158
158
uses : actions/checkout@v2
159
159
with :
160
- # This tells checkout to clone a different repository
161
160
repository : frameos/frameos-home-assistant-addon
162
161
token : ${{ secrets.ACTIONS_WRITE_TOKEN }}
163
162
ref : main
@@ -168,11 +167,8 @@ jobs:
168
167
cd home-assistant-addon/frameos
169
168
echo "Updating version in config.yml to main-${{ env.SHORT_SHA }}"
170
169
sed -i "s/^version: .*/version: main-${{ env.SHORT_SHA }}/" config.yml
171
- # If you also want to ensure the image: matches the new Docker Hub tag, you could do:
172
- # sed -i "s|^image: .*|image: frameos/frameos:main-${{ env.SHORT_SHA }}|" config.yml
173
170
174
171
- name : Commit changes
175
- # Using EndBug/add-and-commit to auto-commit and push in one step
176
172
uses : EndBug/add-and-commit@v9
177
173
with :
178
174
message : " Update FrameOS version to main-${{ env.SHORT_SHA }}"
You can’t perform that action at this time.
0 commit comments