Fakultas Ilmu Komputer UI

Commit 54065296 authored by Daya Adianto's avatar Daya Adianto
Browse files

Specify the user when deploying to production

parent 9e0ffd17
Pipeline #87223 failed with stages
in 1 minute and 33 seconds
...@@ -48,7 +48,7 @@ deploy: ...@@ -48,7 +48,7 @@ deploy:
- echo "${SSH_KNOWN_HOSTS}" >> ~/.ssh/known_hosts - echo "${SSH_KNOWN_HOSTS}" >> ~/.ssh/known_hosts
- chmod 644 ~/.ssh/known_hosts - chmod 644 ~/.ssh/known_hosts
script: script:
- rsync -ahP site/ pmpl.cs.ui.ac.id:/var/www/html - rsync -ahP site/ admin@pmpl.cs.ui.ac.id:/var/www/html
environment: environment:
name: production name: production
url: https://pmpl.cs.ui.ac.id url: https://pmpl.cs.ui.ac.id
Supports Markdown
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