Commit d073ed6b authored by Robert Poienar's avatar Robert Poienar

Added back page job

parent b115bcab
......@@ -76,21 +76,21 @@ run-java-android-tests:
- cd "Assets/AltUnityTester-BindingsAndExamples(can_be_deleted)/Bindings~/java"
- mvn test
# create-unity-package:
# stage: create-package
# tags:
# - unity
# script:
# - /Applications/Unity/Unity.app/Contents/MacOS/Unity -projectPath $CI_PROJECT_DIR -executeMethod AltUnityTesterEditor.CreateAltUnityTesterPackage -logFile createAltUnityTesterPackage.log -quit
# - mkdir -p public/${CI_COMMIT_REF_NAME} || true
# - mv AltUnityTester.unitypackage public/${CI_COMMIT_REF_NAME}/AltUnityTester.unitypackage
# - cd public/${CI_COMMIT_REF_NAME}/
# - echo '<a href="https://altom.gitlab.io/altunitytester/'${CI_COMMIT_REF_NAME}'/AltUnityTester.unitypackage">AltUnityTester.unitypackage</a>' > index.html
# - ls
# artifacts:
# when: always
# paths:
# - public
create-unity-package:
stage: create-package
tags:
- unity
script:
- /Applications/Unity/Unity.app/Contents/MacOS/Unity -projectPath $CI_PROJECT_DIR -executeMethod AltUnityTesterEditor.CreateAltUnityTesterPackage -logFile createAltUnityTesterPackage.log -quit
- mkdir -p public/${CI_COMMIT_REF_NAME} || true
- mv AltUnityTester.unitypackage public/${CI_COMMIT_REF_NAME}/AltUnityTester.unitypackage
- cd public/${CI_COMMIT_REF_NAME}/
- echo '<a href="https://altom.gitlab.io/altunitytester/'${CI_COMMIT_REF_NAME}'/AltUnityTester.unitypackage">AltUnityTester.unitypackage</a>' > index.html
  • @robert_poienar We need to also change the link on the main page, and here as well, since we moved the project... It should now be https://altom.gitlab.io/altunity/altunitytester/'${CI_COMMIT_REF_NAME}'/AltUnityTester.unitypackage

Please register or sign in to reply
- ls
artifacts:
when: always
paths:
- public
# build-ipa:
......@@ -179,15 +179,15 @@ deploy-altunitytester-python:
- cd "Assets/AltUnityTester-BindingsAndExamples(can_be_deleted)/Bindings~/python"
- python setup.py sdist upload -r pypi
# pages:
# stage: deploy
# dependencies:
# - create-unity-package
# script:
# - echo Pages deploy done
# tags:
# - unity
# artifacts:
# paths:
# - public
# expire_in: 30 days
pages:
stage: deploy
dependencies:
- create-unity-package
script:
- echo Pages deploy done
tags:
- unity
artifacts:
paths:
- public
expire_in: 30 days
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