Update .drone.yml

This commit is contained in:
Victor Mylle
2023-03-10 19:24:34 +00:00
parent d1f2758192
commit 5a3613bc4f

View File

@@ -36,4 +36,16 @@ steps:
- /opt/unity/editors/2021.3.19f1/Editor/Unity -batchmode -nographics -projectPath . -buildWindowsPlayer WeSign.exe -quit --headless - /opt/unity/editors/2021.3.19f1/Editor/Unity -batchmode -nographics -projectPath . -buildWindowsPlayer WeSign.exe -quit --headless
# - /opt/unity/editors/2021.3.19f1/Editor/Unity -batchmode -nographics -projectPath . -buildLinux64Player WiiSign -quit --headless # - /opt/unity/editors/2021.3.19f1/Editor/Unity -batchmode -nographics -projectPath . -buildLinux64Player WiiSign -quit --headless
# - /opt/unity/editors/2021.3.19f1/Editor/Unity -batchmode -nographics -projectPath . -buildOSXUniversalPlayer WiiSign.app -quit --headless # - /opt/unity/editors/2021.3.19f1/Editor/Unity -batchmode -nographics -projectPath . -buildOSXUniversalPlayer WiiSign.app -quit --headless
- curl --request POST --header PRIVATE-TOKEN:ixKiNbp48zzmP5PF-epo --form "file=WeSign.exe" "https://gitlab.ilabt.imec.be/api/v4/projects/4583/uploads" - name: commit-files
image: docker
environment:
GIT_AUTHOR_NAME: DroneCI
GIT_AUTHOR_EMAIL: droneci@wesign.com
GIT_COMMITTER_NAME: DroneCI
GIT_COMMITTER_EMAIL: droneci@wesign.com
commands:
- git config --global user.name "DroneCI"
- git config --global user.email "droneci@wesign.com"
- git add WeSign.exe
- git commit -m "Add build files [skip ci]"
- git push