This commit is contained in:
parent
e9d30f58ff
commit
33610177cd
@ -15,3 +15,15 @@ jobs:
|
|||||||
- name: Build
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
make build
|
make build
|
||||||
|
- name: Install MinIO client
|
||||||
|
run: |
|
||||||
|
curl 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
|
||||||
|
- name: Configure MinIO client
|
||||||
|
run: |
|
||||||
|
mc alias set offen https://storage.offen.dev offen ${{ secrets.MINIO_SECRET_KEY }}
|
||||||
|
- name: Deploy
|
||||||
|
run: |
|
||||||
|
mc mirror --remove --overwrite ./output/ offen/software-website
|
||||||
|
Loading…
Reference in New Issue
Block a user