Skip to content

Commit

Permalink
ci: get repository url from github context
Browse files Browse the repository at this point in the history
  • Loading branch information
kamiKAC committed May 24, 2024
1 parent 15ed88f commit b719ddb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/Tasmota_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
git config --local user.name "Platformio BUILD"
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
git switch -c work
git remote add -f Tasmota "https://github.com/arendst/Tasmota.git"
git remote add -f Tasmota "${{ github.repositoryUrl }}"
git merge Tasmota/development --allow-unrelated-histories
- name: Push Tasmota # Push updates of latest Tasmota development to repo
uses: ad-m/github-push-action@master
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/Tasmota_build_master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
git config --local user.name "Platformio BUILD"
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
git switch -c work
git remote add -f Tasmota "https://github.com/arendst/Tasmota.git"
git remote add -f Tasmota "${{ github.repositoryUrl }}"
git merge Tasmota/master --allow-unrelated-histories
- name: Push Tasmota # Push updates of latest Tasmota master to repo
uses: ad-m/github-push-action@master
Expand Down

0 comments on commit b719ddb

Please sign in to comment.