diff --git a/.github/workflows/upload_config_test.yml b/.github/workflows/upload_config_test.yml index 10fa5342..3ab6ed3e 100644 --- a/.github/workflows/upload_config_test.yml +++ b/.github/workflows/upload_config_test.yml @@ -7,6 +7,7 @@ on: - '*' paths: - 'contracts/configs/legacy/test.json' + - 'contracts/configs/test.json' jobs: upload_chainspec_devnet: @@ -29,6 +30,10 @@ jobs: id: extract_bucket run: echo "::set-output name=bucket_name::$(aws s3 ls | grep bridge-config-test | awk '{print $3}')" + - name: Upload legacy config + run: | + aws s3 cp contracts/configs/legacy/test.json s3://${{ steps.extract_bucket.outputs.bucket_name }}/v1 --content-type application/json --cache-control no-cache + - name: Upload config run: | - aws s3 cp contracts/configs/legacy/test.json s3://${{ steps.extract_bucket.outputs.bucket_name }}/index.html --content-type application/json --cache-control no-cache + aws s3 cp contracts/configs/test.json s3://${{ steps.extract_bucket.outputs.bucket_name }}/v2 --content-type application/json --cache-control no-cache