Files
matthias 63d41ed9db
CI/CD Pipeline / Lint & Check (push) Successful in 9s
Deploy Website to S3 / deploy (push) Successful in 7s
CI/CD Pipeline / Build & Push Docker Image (push) Successful in 1m20s
chore: update S3 deployment configuration to use specific endpoint and path-style addressing
2026-05-14 19:42:04 +02:00

30 lines
767 B
YAML

name: Deploy Website to S3
on:
push:
branches:
- main
paths:
- 'website/**'
- '.gitea/workflows/deploy-website.yaml'
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Sync to S3
uses: https://github.com/jakejarvis/s3-sync-action@master
with:
args: --acl public-read --follow-symlinks --delete
env:
AWS_S3_BUCKET: ${{ secrets.S3_BUCKET }}
AWS_ACCESS_KEY_ID: ${{ secrets.S3_ACCESS_KEY }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.S3_SECRET_KEY }}
AWS_S3_ENDPOINT: "https://s3.hnrx.net"
AWS_S3_FORCE_PATH_STYLE: 'true'
AWS_REGION: 'garage'
SOURCE_DIR: 'website'