1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-25 17:09:44 +00:00

ci: fix jobs on tags only

This commit is contained in:
vdovhanych 2022-07-14 22:01:55 +02:00 committed by matejcik
parent d19af9896b
commit 907254245d
2 changed files with 4 additions and 1 deletions

View File

@ -285,6 +285,9 @@ sync emulators to aws:
- wget https://firmware.corp.sldev.cz/releases/emulators/arm/ -O index.html && aws s3 cp index.html s3://$BUCKET/dev/firmware/releases/emulators/arm/ - wget https://firmware.corp.sldev.cz/releases/emulators/arm/ -O index.html && aws s3 cp index.html s3://$BUCKET/dev/firmware/releases/emulators/arm/
# invalidate cloudfront cache for dev/ directory. # invalidate cloudfront cache for dev/ directory.
- aws cloudfront create-invalidation --distribution-id E1ERY5K2OTKKI1 --paths '/dev/*' - aws cloudfront create-invalidation --distribution-id E1ERY5K2OTKKI1 --paths '/dev/*'
only:
- /^legacy\//
- /^core\//
except: except:
- branches # run for tags only - branches # run for tags only
tags: tags:

View File

@ -300,6 +300,6 @@ Consists of **14 jobs** below:
### [sync emulators to aws](https://github.com/trezor/trezor-firmware/blob/master/ci/deploy.yml#L270) ### [sync emulators to aws](https://github.com/trezor/trezor-firmware/blob/master/ci/deploy.yml#L270)
### [common sync](https://github.com/trezor/trezor-firmware/blob/master/ci/deploy.yml#L295) ### [common sync](https://github.com/trezor/trezor-firmware/blob/master/ci/deploy.yml#L298)
--- ---