Skip to content

Commit

Permalink
modified deploy-nightly workflow job to use token argument in with
Browse files Browse the repository at this point in the history
part to work correctly again.
  • Loading branch information
jens-maus committed Oct 30, 2023
1 parent b5ae731 commit 02a649b
Showing 1 changed file with 8 additions and 16 deletions.
24 changes: 8 additions & 16 deletions .github/workflows/snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,8 @@ jobs:
github.repository_owner == 'jens-maus' &&
!startsWith(matrix.platform, 'oci_')
uses: WebFreak001/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.DEPLOY_TOKEN }}
with:
token: ${{ secrets.DEPLOY_TOKEN }}
upload_url: https://uploads.github.com/repos/jens-maus/RaspberryMatic/releases/22744592/assets{?name,label}
release_id: 22744592
asset_path: release/RaspberryMatic-${{ env.VERSION }}-${{ matrix.platform }}.zip
Expand All @@ -131,9 +130,8 @@ jobs:
github.repository_owner == 'jens-maus' &&
!startsWith(matrix.platform, 'oci_')
uses: WebFreak001/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.DEPLOY_TOKEN }}
with:
token: ${{ secrets.DEPLOY_TOKEN }}
upload_url: https://uploads.github.com/repos/jens-maus/RaspberryMatic/releases/22744592/assets{?name,label}
release_id: 22744592
asset_path: release/RaspberryMatic-${{ env.VERSION }}-${{ matrix.platform }}.zip.sha256
Expand All @@ -146,9 +144,8 @@ jobs:
github.repository_owner == 'jens-maus' &&
matrix.platform == 'rpi3'
uses: WebFreak001/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.DEPLOY_TOKEN }}
with:
token: ${{ secrets.DEPLOY_TOKEN }}
upload_url: https://uploads.github.com/repos/jens-maus/RaspberryMatic/releases/22744592/assets{?name,label}
release_id: 22744592
asset_path: release/RaspberryMatic-${{ env.VERSION }}-ccu3.tgz
Expand All @@ -161,9 +158,8 @@ jobs:
github.repository_owner == 'jens-maus' &&
matrix.platform == 'rpi3'
uses: WebFreak001/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.DEPLOY_TOKEN }}
with:
token: ${{ secrets.DEPLOY_TOKEN }}
upload_url: https://uploads.github.com/repos/jens-maus/RaspberryMatic/releases/22744592/assets{?name,label}
release_id: 22744592
asset_path: release/RaspberryMatic-${{ env.VERSION }}-ccu3.tgz.sha256
Expand All @@ -176,9 +172,8 @@ jobs:
github.repository_owner == 'jens-maus' &&
matrix.platform == 'ova'
uses: WebFreak001/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.DEPLOY_TOKEN }}
with:
token: ${{ secrets.DEPLOY_TOKEN }}
upload_url: https://uploads.github.com/repos/jens-maus/RaspberryMatic/releases/22744592/assets{?name,label}
release_id: 22744592
asset_path: release/RaspberryMatic-${{ env.VERSION }}.ova
Expand All @@ -191,9 +186,8 @@ jobs:
github.repository_owner == 'jens-maus' &&
matrix.platform == 'ova'
uses: WebFreak001/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.DEPLOY_TOKEN }}
with:
token: ${{ secrets.DEPLOY_TOKEN }}
upload_url: https://uploads.github.com/repos/jens-maus/RaspberryMatic/releases/22744592/assets{?name,label}
release_id: 22744592
asset_path: release/RaspberryMatic-${{ env.VERSION }}.ova.sha256
Expand All @@ -206,9 +200,8 @@ jobs:
github.repository_owner == 'jens-maus' &&
startsWith(matrix.platform, 'oci_')
uses: WebFreak001/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.DEPLOY_TOKEN }}
with:
token: ${{ secrets.DEPLOY_TOKEN }}
upload_url: https://uploads.github.com/repos/jens-maus/RaspberryMatic/releases/22744592/assets{?name,label}
release_id: 22744592
asset_path: release/RaspberryMatic-${{ env.VERSION }}-${{ matrix.platform }}.tgz
Expand All @@ -221,9 +214,8 @@ jobs:
github.repository_owner == 'jens-maus' &&
startsWith(matrix.platform, 'oci_')
uses: WebFreak001/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.DEPLOY_TOKEN }}
with:
token: ${{ secrets.DEPLOY_TOKEN }}
upload_url: https://uploads.github.com/repos/jens-maus/RaspberryMatic/releases/22744592/assets{?name,label}
release_id: 22744592
asset_path: release/RaspberryMatic-${{ env.VERSION }}-${{ matrix.platform }}.tgz.sha256
Expand Down

0 comments on commit 02a649b

Please sign in to comment.