From 60be8ef1bc513fee8a4e4edff8bfdc819cf15d9e Mon Sep 17 00:00:00 2001 From: Martin Varmuza Date: Tue, 15 Apr 2025 08:15:53 +0200 Subject: [PATCH] ci: remove release coins icons workflow --- .../workflows/release-suite-coin-icons.yml | 45 ------------------- 1 file changed, 45 deletions(-) delete mode 100644 .github/workflows/release-suite-coin-icons.yml diff --git a/.github/workflows/release-suite-coin-icons.yml b/.github/workflows/release-suite-coin-icons.yml deleted file mode 100644 index 9ffd0dd81e..0000000000 --- a/.github/workflows/release-suite-coin-icons.yml +++ /dev/null @@ -1,45 +0,0 @@ -name: "[Release] suite coin icons" - -permissions: - id-token: write # for fetching the OIDC token - contents: read # for actions/checkout - -on: - workflow_dispatch: - schedule: - # Runs at midnight UTC every day at 01:00 AM CET - - cron: "0 0 * * *" - -concurrency: - group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} - cancel-in-progress: true - -jobs: - release-coin-icons: - if: github.repository == 'trezor/trezor-suite' - environment: production-icons - runs-on: ubuntu-latest - env: - AWS_REGION: "eu-central-1" - AWS_CLOUDFRONT_ID: E1ERY5K2OTKKI1 - COINGECKO_API_KEY: ${{ secrets.COINGECKO_API_KEY }} - steps: - - name: Checkout - uses: actions/checkout@v4 - - - name: Download crypto icons - run: | - yarn install - cd suite-common/icons-deprecated - yarn download-crypto-icons - - - name: Configure aws credentials - uses: aws-actions/configure-aws-credentials@v4 - with: - role-to-assume: arn:aws:iam::538326561891:role/gh_actions_suite_production_icons - aws-region: ${{ env.AWS_REGION }} - - - name: Upload crypto icons - run: | - aws s3 sync suite-common/icons-deprecated/files/cryptoIcons s3://data.trezor.io/suite/icons/coins - aws cloudfront create-invalidation --distribution-id ${AWS_CLOUDFRONT_ID} --paths '/suite/icons/coins/*'