fix minio copy command
This commit is contained in:
@@ -32,7 +32,11 @@ spec:
|
|||||||
steps:
|
steps:
|
||||||
- name: git-clone
|
- name: git-clone
|
||||||
image: bitnami/git
|
image: bitnami/git
|
||||||
script: git clone $(params.gitrepositoryurl) $(workspaces.repo.path) && cd $(workspaces.repo.path) && git checkout $(params.gitrevision)
|
workingDir: $(workspaces.repo.path)
|
||||||
|
script: |
|
||||||
|
#!/bin/sh
|
||||||
|
git fetch --all --tags
|
||||||
|
git checkout $(params.gitrevision)
|
||||||
- name: npm-build
|
- name: npm-build
|
||||||
runAfter:
|
runAfter:
|
||||||
- git-clone
|
- git-clone
|
||||||
@@ -73,4 +77,4 @@ spec:
|
|||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: minio-dev
|
name: minio-dev
|
||||||
key: secretKey
|
key: secretKey
|
||||||
script: mc cp dist/ sakal-us/
|
script: mc cp --recursive dist/ sakal-us/
|
||||||
Reference in New Issue
Block a user