mirror of
https://github.com/ivabus/gui
synced 2025-06-08 00:00:27 +03:00
fix pipeline
This commit is contained in:
parent
4c844bdb4f
commit
faac69d2fe
2 changed files with 4 additions and 3 deletions
3
.github/create-invalidate-preview.sh
vendored
3
.github/create-invalidate-preview.sh
vendored
|
@ -36,7 +36,10 @@ then
|
|||
domain=$(echo $new_config | jq '.Distribution.DomainName' | tr -d '"')
|
||||
aws cloudfront wait distribution-deployed --id $distribution_id
|
||||
else
|
||||
echo "invalidating distribution_id: $distribution_id"
|
||||
invalidation_id=$(aws cloudfront create-invalidation --distribution-id $distribution_id --paths /* | jq '.Invalidation.Id' | tr -d '"')
|
||||
|
||||
echo "invalidation_id: $invalidation_id"
|
||||
aws cloudfront wait invalidation-completed --distribution-id $distribution_id --id $invalidation_id
|
||||
fi
|
||||
|
||||
|
|
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
|
@ -28,9 +28,7 @@ jobs:
|
|||
- 'packages/ui/src/**'
|
||||
- name: get s3 preview folder
|
||||
id: preview
|
||||
run: |
|
||||
preview=$(echo $GITHUB_REF_NAME | sed -e 's/\//-/g')
|
||||
echo "folder=$preview" >> $GITHUB_OUTPUT
|
||||
run: echo "folder=${{ github.event.number }}-merge" >> $GITHUB_OUTPUT
|
||||
no_preview:
|
||||
needs: changes
|
||||
if: needs.changes.outputs.svelte == 'false'
|
||||
|
|
Loading…
Reference in a new issue