Skip to content

Commit

Permalink
add s3 upload action
Browse files Browse the repository at this point in the history
  • Loading branch information
Atomsoldat committed Dec 28, 2024
1 parent 8084073 commit 29c60c4
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,16 @@ jobs:
- uses: jakejarvis/hugo-build-action@master
with:
args: --minify
# so we can inspect what is being produced
- uses: actions/upload-artifact@master
with:
name: website
path: './public'
# upload to s3
- uses: shallwefootball/s3-upload-action@master
with:
aws_key_id: ${{ secrets.S3_KEY_ID }}
aws_secret_access_key: ${{ secrets.S3_SECRET_ACCESS_KEY}}
aws_bucket: ${{ secrets.S3_BUCKET }}
endpoint: ${{ secrets.S3_ENDPOINT }}
source_dir: './public'

0 comments on commit 29c60c4

Please sign in to comment.