fix minio copy command

main
avraham 2 years ago
parent 3fc41cf115
commit 2de485e1ed

@ -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/
Loading…
Cancel
Save