From 3010a9f305a08f91f06d331519357bff9aab95fe Mon Sep 17 00:00:00 2001 From: Frederik Ring Date: Sat, 2 Sep 2023 20:55:43 +0200 Subject: [PATCH] Deploy assets from CI --- .gitea/workflows/build.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 4bbff69..4914f28 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -15,3 +15,11 @@ jobs: - 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