Skip to content

Commit

Permalink
Attempting to build CI/CD
Browse files Browse the repository at this point in the history
  • Loading branch information
ravindk89 committed Nov 13, 2024
1 parent 2c567e2 commit 2ea3464
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions build-docs-ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,38 +2,36 @@

set -ex

branch=$(git branch --show-current)

export PATH=${PATH}:${HOME}/.local/bin


make SYNC_SDK=TRUE linux
make windows macos container k8s openshift eks aks gke

mkdir -p docs/minio/kubernetes/upstream
cp -vr build/${branch}/k8s/html/* docs/minio/kubernetes/upstream/
cp -vr build/HEAD/k8s/html/* docs/minio/kubernetes/upstream/

mkdir -p docs/minio/kubernetes/eks
cp -vr build/${branch}/eks/html/* docs/minio/kubernetes/eks/
cp -vr build/HEAD/eks/html/* docs/minio/kubernetes/eks/


mkdir -p docs/minio/kubernetes/gke
cp -vr build/${branch}/gke/html/* docs/minio/kubernetes/gke/
cp -vr build/HEAD/gke/html/* docs/minio/kubernetes/gke/

mkdir -p docs/minio/kubernetes/aks
cp -vr build/${branch}/aks/html/* docs/minio/kubernetes/aks/
cp -vr build/HEAD/aks/html/* docs/minio/kubernetes/aks/

mkdir -p docs/minio/kubernetes/openshift
cp -vr build/${branch}/openshift/html/* docs/minio/kubernetes/openshift/
cp -vr build/HEAD/openshift/html/* docs/minio/kubernetes/openshift/

mkdir -p docs/minio/container
cp -vr build/${branch}/container/html/* docs/minio/container/
cp -vr build/HEAD/container/html/* docs/minio/container/

mkdir -p docs/minio/linux
cp -vr build/${branch}/linux/html/* docs/minio/linux/
cp -vr build/HEAD/linux/html/* docs/minio/linux/

mkdir -p docs/minio/macos
cp -vr build/${branch}/macos/html/* docs/minio/macos/
cp -vr build/HEAD/macos/html/* docs/minio/macos/

mkdir -p docs/minio/windows
cp -vr build/${branch}/windows/html/* docs/minio/windows/
cp -vr build/HEAD/windows/html/* docs/minio/windows/

0 comments on commit 2ea3464

Please sign in to comment.