Skip to content

Commit

Permalink
Second repo auth fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
madmachinations committed Jan 4, 2025
1 parent 1beb820 commit 76fff89
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 39 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:
with:
tag_name: ${{ env.IMAGE_VERSION }}
release_name: ${{ env.IMAGE_VERSION }}
body: "Automated release for version $IMAGE_VERSION"
body: "Automated release for version ${{ env.IMAGE_VERSION }}"
draft: false
prerelease: false

Expand All @@ -96,14 +96,16 @@ jobs:
- name: Update version in YAML file
run: |
cd external-repo
sed -i "s/^version:.*/version: '$IMAGE_VERSION'/" ${{ env.FILE_PATH }}
sed -i "s/^version:.*/version: '${{ env.IMAGE_VERSION }}'/" ${{ env.FILE_PATH }}
cd ../
- name: Commit and push changes
env:
GITHUB_TOKEN: ${{ secrets.HASS_REPO_TOKEN }}
run: |
cd external-repo
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
git add ${{ env.FILE_PATH }}
git commit -m "Update version to $IMAGE_VERSION"
git commit -m "Update version to ${{ env.IMAGE_VERSION }}"
git push origin main
36 changes: 0 additions & 36 deletions .gitlab-ci.yml

This file was deleted.

6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,12 @@ You can do this with the client script in this repository.

So, if you have not done so already, download this repository first.

You can download each version of the project files on the releases page here:

https://github.com/madmachinations/home-assistant-alexa-shopping-list/releases

You probably want whatever the latest one is.

**THE CLIENT SCRIPT IS RUN ON THE COMPUTER YOU ARE USING RIGHT NOW, NOT ON YOUR HOME ASSISTANT BOX AND NOT WITHIN THE RUNNING CONTAINER. YOU NEED TO DOWNLOAD THE FILES FROM THIS REPOSITORY TO YOUR COMPUTER, AND THE CLIENT SCRIPT IS INSIDE THE CLIENT FOLDER**

Before we begin, you need to make sure your system has both `python3` and `pip3` installed.
Expand Down

0 comments on commit 76fff89

Please sign in to comment.