fix(ci): use valid GitHub Actions expression syntax for SHA
- Replace invalid ${{ github.sha::7 }} with ${{ github.sha }}
and shell ${SHA::7} for substring extraction
- Add SHA env var to deploy-dev job
Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
@@ -218,9 +218,10 @@ jobs:
|
|||||||
|
|
||||||
- name: Deploy to groombook-dev
|
- name: Deploy to groombook-dev
|
||||||
env:
|
env:
|
||||||
TAG: pr-${{ github.event.pull_request.number }}-${{ github.sha::7 }}
|
|
||||||
PR_NUM: ${{ github.event.pull_request.number }}
|
PR_NUM: ${{ github.event.pull_request.number }}
|
||||||
|
SHA: ${{ github.sha }}
|
||||||
run: |
|
run: |
|
||||||
|
TAG="pr-$PR_NUM-${SHA::7}"
|
||||||
echo "Deploying images tagged $TAG to groombook-dev..."
|
echo "Deploying images tagged $TAG to groombook-dev..."
|
||||||
|
|
||||||
# Run migration with PR image
|
# Run migration with PR image
|
||||||
|
|||||||
Reference in New Issue
Block a user