-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 1d1b083
Showing
43 changed files
with
4,609 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
.vscode/ | ||
.idea | ||
Library | ||
Logs | ||
Packages | ||
ProjectSettings | ||
Temp | ||
obj | ||
Assets/Plugins/Editor | ||
|
||
*.meta | ||
*.sln | ||
*.csproj | ||
*.apk | ||
|
||
.DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
stages: | ||
- build | ||
- source | ||
|
||
image: alpine:latest # Should consider using Unity | ||
|
||
build: | ||
stage: build | ||
script: | ||
- echo "Nothing here." | ||
|
||
upload_source: | ||
stage: source | ||
only: | ||
- master | ||
- develop | ||
before_script: | ||
- echo "---- Applying Git ----" | ||
- apk update; apk add git; apk add openssh | ||
- echo "$SSH_PRIVATE_KEY" > ~/key | ||
- chmod 600 ~/key | ||
- git config --global user.email "[email protected]" | ||
- git config --global user.name "mahdi-malv" | ||
script: | ||
- echo "---- Upload source to Github ----" | ||
- rm -rf .git || true # In case it already existed | ||
- export GIT_SSH_COMMAND="ssh -i ~/key -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no" | ||
- git init; git remote add source [email protected]:pusheco/pushe-unity.git | ||
- git add -A; git commit -m 'Changes of latest version' | ||
- git push -f source master | ||
dependencies: | ||
- build |
Oops, something went wrong.