website/.gitea/workflows/build.yml
Frederik Ring 3010a9f305
Some checks failed
Build / build (push) Failing after 38s
Deploy assets from CI
2023-09-02 20:58:21 +02:00

26 lines
681 B
YAML

name: Build
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Docker
run: curl -fsSL https://get.docker.com | sh
- name: Build
run: |
make build
- name: Install MinIO client
run: |
curl -sSL https://dl.min.io/client/mc/release/linux-$(uname -i | sed 's/x86_64/amd64/')/mc -o mc
chmod +x mc
mv mc /usr/local/bin/mc
command -v mc
mc alias set offen https://storage.offen.dev offen ${{ secrets.MINIO_SECRET_KEY }}
mc mirror --remove --overwrite ./output/ offen/software-website