From 49ec3490a5c2567b3db186f33fa1ec7e48bc6b8c Mon Sep 17 00:00:00 2001 From: Noritaka IZUMI Date: Mon, 4 Nov 2024 17:07:11 +0900 Subject: [PATCH] ci: publish-docs.yml - pass secrets --- .github/workflows/publish-docs.yml | 4 ++++ .github/workflows/publish.yml | 2 ++ 2 files changed, 6 insertions(+) diff --git a/.github/workflows/publish-docs.yml b/.github/workflows/publish-docs.yml index 34ae8ab..9022d1c 100644 --- a/.github/workflows/publish-docs.yml +++ b/.github/workflows/publish-docs.yml @@ -5,6 +5,10 @@ on: secrets: AWS_OIDC_ROLE_ARN: required: true + AWS_S3_BUCKET: + required: true + AMPLIFY_APP_ID: + required: true permissions: contents: read diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index ceaf3ba..19af53b 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -40,6 +40,8 @@ jobs: uses: ./.github/workflows/publish-docs.yml secrets: AWS_OIDC_ROLE_ARN: ${{ secrets.AWS_OIDC_ROLE_ARN }} + AWS_S3_BUCKET: ${{ secrets.AWS_S3_BUCKET }} + AMPLIFY_APP_ID: ${{ secrets.AMPLIFY_APP_ID }} permissions: contents: read id-token: write