Skip to content

Commit

Permalink
Merge pull request #2220 from GiganticMinecraft/fix_pipeline
Browse files Browse the repository at this point in the history
fix commands
  • Loading branch information
outductor authored Sep 15, 2024
2 parents 01690ec + 92ca289 commit 448a471
Showing 1 changed file with 14 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,9 @@ spec:
volumeMounts:
- name: work
mountPath: /work
entrypoint: ["/bin/sh", "-c"]
command:
- "wget https://github.com/GiganticMinecraft/SeichiAssist/releases/download/{{ workflow.parameters.tag-name }}/SeichiAssist.jar"
- "wget"
- "https://github.com/GiganticMinecraft/SeichiAssist/releases/download/{{ workflow.parameters.tag-name }}/SeichiAssist.jar"
- name: upload-seichiassist
container:
image: minio/mc:latest
Expand All @@ -89,9 +89,19 @@ spec:
volumeMounts:
- name: work
mountPath: /work
entrypoint: ["/bin/sh", "-c"]
command:
- "mc alias set myminio seichi-private-plugin-blackhole-minio.minio:9000 $minio-access-key $minio-access-secret && mc cp SeichiAssist.jar myminio/seichiassist/{{ workflow.parameters.target-branch }}/SeichiAssist.jar"
- "mc"
- "alias"
- "set"
- "myminio"
- "seichi-private-plugin-blackhole-minio.minio:9000"
- "$minio-access-key"
- "$minio-access-secret"
- "&&"
- "mc"
- "cp"
- "SeichiAssist.jar"
- "myminio/seichiassist/{{ workflow.parameters.target-branch }}/SeichiAssist.jar"
parameters:
- src:
dependencyName: from-seichiassist-downloader
Expand Down

0 comments on commit 448a471

Please sign in to comment.