Verified Commit 9e5b8eb8 authored by Sebastian Höffner's avatar Sebastian Höffner
Browse files

Trying to package the WebGL build for other pipelines

parent 433c768b
Pipeline #132084 failed with stages
in 5 minutes and 3 seconds
......@@ -109,6 +109,15 @@ pages:
only:
- master
package:
image: curlimages/curl:latest
stage: deploy
script:
- 'zip -r "$UNITY_DIR/Builds/WebGL/${BUILD_NAME}.zip" "$UNITY_DIR/Builds/WebGL/${BUILD_NAME}"'
- 'curl --header "JOB-TOKEN: $CI_JOB_TOKEN" --upload-file "$UNITY_DIR/Builds/WebGL/${BUILD_NAME}.zip" "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/${BUILD_NAME}/${CI_COMMIT_SHA:0:7}/${BUILD_NAME}.zip"'
only:
- master
workflow:
rules:
- if: $CI_MERGE_REQUEST_ID
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment