Skip to content

Commit

Permalink
run with creds
Browse files Browse the repository at this point in the history
  • Loading branch information
jdettmannnava committed Dec 13, 2024
1 parent f34af65 commit 54428ed
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ jobs:
steps:
- name: "Checkout code"
uses: actions/checkout@v4
with:
repository: 'CMSgov/dpc-static-site'
ref: 'jd/dpc-4433-gha-deploy-static'
- name: "Add dirs"
run: mkdir -p _site && mkdir -p .jekyll-cache
- name: 'Build Image'
Expand All @@ -30,6 +33,10 @@ jobs:
params: |
SONAR_HOST_URL=/sonarqube/url
SONAR_TOKEN=/sonarqube/token
- uses: aws-actions/configure-aws-credentials@v4
with:
aws-region: ${{ AWS_REGION }}
role-to-assume: arn:aws:iam::${{ secrets.ACCOUNT_ID }}:role/delegatedadmin/developer/dpc-dev-github-actions
- name: Run quality gate scan
if: ${{ startsWith(github.ref, 'refs/tags/') }}
uses: sonarsource/sonarqube-scan-action@master
Expand Down

0 comments on commit 54428ed

Please sign in to comment.