Skip to content

Commit

Permalink
Downloading artifacts requires right run-id
Browse files Browse the repository at this point in the history
  • Loading branch information
linw1995 committed Aug 14, 2024
1 parent 24657dc commit aeba83b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/CD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,11 +92,11 @@ jobs:
# The repository owner and the repository name joined together by "/".
# If github-token is specified, this is the repository that artifacts will be downloaded from.
# Optional. Default is ${{ github.repository }}
repository: ${{ secrets.GH_REPO_WEB }}
repository: ${{ env.GH_REPO_WEB }}
# The id of the workflow run where the desired download artifact was uploaded from.
# If github-token is specified, this is the run that artifacts will be downloaded from.
# Optional. Default is ${{ github.run_id }}
run-id: ${{ secrets.GH_RUN_WEB }}
run-id: ${{ env.GH_RUN_WEB }}

# This step uses the `docker/build-push-action` action to build the image, based on your repository's `Dockerfile`. If the build succeeds, it pushes the image to GitHub Packages.
# It uses the `context` parameter to define the build's context as the set of files located in the specified path. For more information, see "[Usage](https://github.com/docker/build-push-action#usage)" in the README of the `docker/build-push-action` repository.
Expand Down

0 comments on commit aeba83b

Please sign in to comment.