Skip to content

Commit

Permalink
update rolename
Browse files Browse the repository at this point in the history
  • Loading branch information
hrantm committed May 18, 2023
1 parent 401ff35 commit f986a63
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ jobs:
BRANCH: ${{ github.head_ref }}
AWS_DEFAULT_REGION: "us-west-2"
ALGOLIA_PRIVATE_KEY: ${{ secrets.AGOLIA_PRIVATE_KEY }}
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
AWS_DOCS_SITE_ROLE: ${{ secrets.AWS_DOCS_SITE_ROLE }}
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
steps:
- name: Checkout code
uses: actions/checkout@v3
Expand Down Expand Up @@ -42,7 +41,7 @@ jobs:
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v1-node16
with:
role-to-assume: $AWS_DOCS_SITE_ROLE
role-to-assume: ${{ secrets.AWS_DOCS_SITE_ROLE }}
aws-region: us-west-2
- name: Build & Deploy Preview Docs
run: |
Expand All @@ -55,7 +54,7 @@ jobs:
-e AWS_SECRET_ACCESS_KEY=$AWS_SECRET_ACCESS_KEY \
-e AWS_SESSION_TOKEN=$AWS_SESSION_TOKEN \
-e BUCKET=${{ env.BUCKET }} \
-e PRINCIPAL=$AWS_DOCS_SITE_ROLE \
-e PRINCIPAL=${{ secrets.AWS_DOCS_SITE_ROLE }}
-e REDIR_HOSTNAME=${{ env.HOSTNAME }} \
-e DOCS_ENV="preview" \
mesosphere/docs /src/ci/deploy.sh
Expand Down

0 comments on commit f986a63

Please sign in to comment.