Skip to content

Commit 5cc54fb

Browse files
committed
redeclare env.sha_short in deploy.yaml
1 parent 2bbf71d commit 5cc54fb

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/deploy.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ jobs:
1212
runs-on: ubuntu-latest
1313
environment: ${{ inputs.environment }}
1414
steps:
15+
- name: Declare image's tag
16+
shell: bash
17+
run: |
18+
echo "sha_short=$(git rev-parse --short "$GITHUB_SHA")" >> "$GITHUB_ENV"
1519
- name: Deploy
1620
uses: appleboy/ssh-action@v1.1.0
1721
with:

0 commit comments

Comments
 (0)