From 218b659b4a178dfdfef25fa39533ce2342a488fa Mon Sep 17 00:00:00 2001 From: spypsy Date: Mon, 15 Jul 2024 17:29:16 +0000 Subject: [PATCH] fix: don't pass secrets to earthly-ci command --- .github/workflows/publish-docs.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/publish-docs.yml b/.github/workflows/publish-docs.yml index 68413b3ab33..80a74a17fc8 100644 --- a/.github/workflows/publish-docs.yml +++ b/.github/workflows/publish-docs.yml @@ -24,17 +24,14 @@ jobs: - uses: ./.github/ci-setup-action env: DOCKERHUB_PASSWORD: "${{ secrets.DOCKERHUB_PASSWORD }}" + AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} + AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} with: concurrency_key: docs-preview-${{ inputs.username || github.actor }}-x86 - timeout-minutes: 25 run: | - touch .secrets - echo "AWS_ACCESS_KEY_ID=$AWS_ACCESS_KEY_ID" > .secrets - echo "AWS_SECRET_ACCESS_KEY=$AWS_SECRET_ACCESS_KEY" >> .secrets - earthly-ci --no-output ./docs/+deploy-prod \ - --secret-file-path .secrets \ --NETLIFY_AUTH_TOKEN=${{ secrets.NETLIFY_AUTH_TOKEN }} \ --NETLIFY_SITE_ID=${{ secrets.NETLIFY_SITE_ID }} \ --COMMIT_TAG=${{ inputs.tag }}