From 4e42f6336de0140aa8d65f9d2c7e1f9bcf8451bc Mon Sep 17 00:00:00 2001 From: Albert Perez Toro Date: Tue, 17 Dec 2024 10:28:52 +0100 Subject: [PATCH] ci: Change role and secret for crates token --- .github/workflows/publish-cargo-crates.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish-cargo-crates.yml b/.github/workflows/publish-cargo-crates.yml index 27f91cd908..4137de5a9a 100644 --- a/.github/workflows/publish-cargo-crates.yml +++ b/.github/workflows/publish-cargo-crates.yml @@ -21,11 +21,11 @@ jobs: uses: ./.github/actions/setup-env - uses: radixdlt/public-iac-resuable-artifacts/fetch-secrets@main with: - role_name: "arn:aws:iam::308190735829:role/gh-common-secrets-read-access" + role_name: ${{ secrets.AWS_SCRYPTO_RELEASE_SECRET_ROLE }} app_name: "radixdlt-scrypto" step_name: "publish-crate" secret_prefix: "CRATES" - secret_name: "arn:aws:secretsmanager:eu-west-2:308190735829:secret:github-actions/common/cratesio-token-IjOP4n" + secret_name: ${{ secrets.AWS_CRATES_TOKEN_SECRET_PATH }} parse_json: true - name: Publish crates run: |