Skip to content

Commit

Permalink
fix: don't pass secrets to earthly-ci 'publish docs' command (#7481)
Browse files Browse the repository at this point in the history
  • Loading branch information
spypsy authored Jul 15, 2024
1 parent 6dc7598 commit a3f6feb
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/publish-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit a3f6feb

Please sign in to comment.