Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update github actions #55

Merged
merged 1 commit into from
Mar 10, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
contents: read
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
# deep clone on the `main` branch, so we can properly generated Last Modified metadata for posts based on
# git commit history (via `jekyll-last-modified-at` gem)
Expand All @@ -25,13 +25,13 @@ jobs:
run: JEKYLL_ENV=production bundle exec jekyll build
- name: Configure AWS Credentials
if: ${{ github.ref == 'refs/heads/main' }}
uses: aws-actions/configure-aws-credentials@v2
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: arn:aws:iam::107111673154:role/benlimmer.com-deploy
aws-region: us-east-1
- name: Deploy site
if: ${{ github.ref == 'refs/heads/main' }}
run: |
export GOPATH=~/go
go install github.com/bep/s3deploy/v2@v2.7.0
go install github.com/bep/s3deploy/v2@v2.11.0
./deploy.sh