banda.ens.fr/.forgejo/workflows/build.yaml
2024-06-05 12:39:36 +02:00

22 lines
477 B
YAML

name: build configuration
on:
push:
branches:
- main
jobs:
build:
runs-on: nix
steps:
- uses: actions/checkout@v3
- name: deploy
run: nix-shell -p awscli2 --run "aws s3 sync ./www/ s3://$BUCKET/ --delete --endpoint-url $URL"
env:
URL: "https://s3.dgnum.eu/"
BUCKET: banda-website
AWS_ACCESS_KEY_ID: ${{ secrets.KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.SECRET_KEY }}