Skip to content

Commit

Permalink
update actions
Browse files Browse the repository at this point in the history
  • Loading branch information
devopsloop-ss committed Feb 4, 2024
1 parent db60579 commit 2d2da2c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,10 @@ jobs:
role-to-assume: ${{ secrets.AWS_DEPLOY_ROLE_ARN }}
role-session-name: hugo-deploy-${{ github.run_id }}

- name: Install Hugo
run: sudo apt-get update && sudo apt-get install hugo -y
- name: Set up Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: latest

- name: Build the Hugo site
run: hugo
Expand Down
2 changes: 1 addition & 1 deletion terraform/oidc-iam-github/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ module "iam_github_oidc_role" {

name = "${var.project_name}-github"

subjects = ["devopsloop-ss/devopsloop:environment:${var.environment}:*"]
subjects = ["devopsloop-ss/devopsloop:environment:${var.environment}"]

policies = {
#tflint-ignore: terraform_deprecated_interpolation
Expand Down

0 comments on commit 2d2da2c

Please sign in to comment.