This commit is contained in:
parent
e9d30f58ff
commit
f304be714a
@ -15,3 +15,11 @@ jobs:
|
|||||||
- name: Build
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
make build
|
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
|
||||||
|
which mc
|
||||||
|
mc alias set offen https://storage.offen.dev offen ${{ secrets.MINIO_SECRET_KEY }}
|
||||||
|
mc mirror --remove --overwrite ./output/ offen/software-website
|
||||||
|
2
Makefile
2
Makefile
@ -32,4 +32,4 @@ build:
|
|||||||
@docker create --entrypoint=bash --name assets offen/software-builder-website
|
@docker create --entrypoint=bash --name assets offen/software-builder-website
|
||||||
@docker cp assets:/code/website/output/. ./output/
|
@docker cp assets:/code/website/output/. ./output/
|
||||||
@docker rm assets
|
@docker rm assets
|
||||||
@docker rmi offen/software-builder-website
|
@docker rmi offen/software-builder-website:latest
|
||||||
|
Loading…
Reference in New Issue
Block a user