Skip to content

Commit

Permalink
Merge pull request #267 from CSSSR/verdel-patch-1
Browse files Browse the repository at this point in the history
Update deploy.yml
  • Loading branch information
verdel authored Feb 1, 2024
2 parents aeb435b + 22426df commit e091801
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
ssh-key: ${{ secrets.DOWNLOAD_ACTIONS_SSH_KEY }}
path: actions

- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
path: csssr_images

Expand All @@ -41,17 +41,9 @@ jobs:

- name: Import secrets
id: secrets
uses: hashicorp/[email protected]
uses: ./actions/get-aws-s3-upload-creds/v1beta1
with:
url: https://vault.csssr.com:8200
jwtGithubAudience: ${{secrets.VAULT_JWT_KEY}}
role: s3-cdn-upload
method: jwt
exportEnv: false
secrets: |
aws/sts/s3-cdn-upload access_key | AWS_ACCESS_KEY_ID ;
aws/sts/s3-cdn-upload secret_key | AWS_SECRET_ACCESS_KEY ;
aws/sts/s3-cdn-upload security_token | AWS_SESSION_TOKEN ;
VAULT_JWT_KEY: ${{secrets.VAULT_JWT_KEY}}

- name: Deploy
uses: ./actions/deploy-static-site/v1beta1
Expand Down

0 comments on commit e091801

Please sign in to comment.