This commit is contained in:
nora 2025-08-13 21:06:05 +02:00
parent bf24af3431
commit fbd3308eb8

View file

@ -4,11 +4,11 @@ on:
push:
branches:
- main
pull_request:
jobs:
test:
runs-on: ubuntu-22.04
environment: garage
steps:
- uses: actions/checkout@v4
with:
@ -26,3 +26,13 @@ jobs:
- name: Build website
run: cargo run --manifest-path ./builder/Cargo.toml build
- name: Deploy website
run: |
aws configure set default.s3.addressing_style path
aws s3 sync ./dist s3://noratrieb.dev
env:
AWS_ACCESS_KEY_ID: "${{ secrets.AWS_KEY_ID }}"
AWS_SECRET_ACCESS_KEY: "${{ secrets.AWS_SECRET_KEY }}"
AWS_REGION: garage
AWS_ENDPOINT_URL: https://garage.noratrieb.dev