Skip to content

Commit

Permalink
Update to fix deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
jbouse authored Dec 6, 2024
1 parent 78e60ee commit d4f616a
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 11 deletions.
17 changes: 10 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -147,10 +147,13 @@ jobs:

env:
HUGO_ENV: production
HUGO_CACHEDIR: /tmp/hugo_cache

steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Setup node
uses: actions/setup-node@v4
Expand All @@ -162,15 +165,15 @@ jobs:
- name: Setup Hugo
uses: peaceiris/actions-hugo@v3
with:
hugo-version: '0.124.1'
hugo-version: '0.136.5'
extended: true

# - uses: actions/cache@v4
# with:
# path: ~/.cache/hugo_cache # <-- with hugo version v0.116.0 and above
# key: ${{ runner.os }}-hugomod-${{ hashFiles('**/go.sum') }}
# restore-keys: |
# ${{ runner.os }}-hugomod-
- uses: actions/cache@v4
with:
path: ${{ env.HUGO_CACHEDIR }}
key: ${{ runner.os }}-hugomod-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-hugomod-
- name: Hugo Build
run: hugo --gc --enableGitInfo --minify --baseURL https://${{ needs.deploy-infra.outputs.baseurl }}/
Expand Down
4 changes: 2 additions & 2 deletions data/announcements/en.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# hamcation:
# title: Hope to see you @ Orlando HamCation - Feb 9-11, 2024
# url: blog/hamcation-2024
# title: Hope to see you @ Orlando HamCation - Feb 7-9, 2025
# url: blog/hamcation-2025
# weight: 1

# msc-cruise:
Expand Down
6 changes: 4 additions & 2 deletions terraform/backend.tf
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
terraform {
required_version = ">= 0.12.2"
required_version = ">= 1.0.0"

backend "s3" {
region = "us-east-1"
bucket = "ugns-use1-terraform-state"
key = "kq4afy-hugo-site/terraform.tfstate"
dynamodb_table = "ugns-use1-terraform-state-lock"
profile = ""
role_arn = "arn:aws:iam::465691465286:role/GitHubActionsExecution"
encrypt = "true"
assume_role = {
role_arn = "arn:aws:iam::465691465286:role/GitHubActionsExecution"
}
}
}

0 comments on commit d4f616a

Please sign in to comment.