Skip to content

Commit

Permalink
Explicit GitHub env var retrieval
Browse files Browse the repository at this point in the history
  • Loading branch information
Zaczero committed Jan 8, 2024
1 parent 1b749fc commit 3159fd0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,13 @@ jobs:
- name: Upload image
run: |
scp $IMAGE_PATH remote:~
scp "${{ env.IMAGE_PATH }}" remote:~
- name: Deploy
run: |
ssh remote <<EOF
set -e
image_filename=$(basename "$IMAGE_PATH")
image_filename=$(basename "${{ env.IMAGE_PATH }}")
function cleanup {
echo "Cleaning up"
Expand Down

0 comments on commit 3159fd0

Please sign in to comment.