Fakultas Ilmu Komputer UI

Commit 1a2f2f0b authored by Zamil Majdy's avatar Zamil Majdy
Browse files

#140382397 #4 Test Autodeploy using UserStory1

parent a16088d6
......@@ -8,15 +8,17 @@ test:
- pip install -r requirements.txt
- python manage.py migrate
- python manage.py test
- git remote add deployment ssh://kape@bot.recruit.id:8022/home/kape.git
- sudo apt-get install sshpass
- sshpass -p yukcarikape git push deployment develop:master
- git fetch
- git remote add deployment ssh://kape@bot.recruit.id:8022/home/kape.git
- sshpass -p yukcarikape git push deployment UserStory1:master
staging:
type: deploy
script:
- apt-get update -qy
- sudo apt-get install sshpass
- git fetch
- git remote add deployment ssh://kape@bot.recruit.id:8022/home/kape.git
- sshpass -p yukcarikape git push deployment develop:master
only:
......@@ -27,6 +29,7 @@ production:
script:
- apt-get update -qy
- sudo apt-get install sshpass
- git fetch
- git remote add deployment ssh://kape@bot.recruit.id:8022/home/kape.git
- sshpass -p yukcarikape git push deployment master:master
only:
......
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