ci: update secrets
This commit is contained in:
parent
0e79de0bd6
commit
e7554c6759
1 changed files with 9 additions and 1 deletions
|
|
@ -10,8 +10,16 @@ skip_clone: true
|
|||
steps:
|
||||
"Deploy the app":
|
||||
image: deblan/mage
|
||||
secrets: [ssh_user, ssh_host, ssh_priv_key, app_directory]
|
||||
volumes: *volumes
|
||||
environment:
|
||||
SSH_USER:
|
||||
from_secret: ssh_user
|
||||
SSH_HOST:
|
||||
from_secret: ssh_host
|
||||
SSH_PRIV_KEY:
|
||||
from_secret: ssh_priv_key
|
||||
APP_DIRECTORY:
|
||||
from_secret: app_directory
|
||||
commands:
|
||||
- cd "/builds/$CI_COMMIT_SHA"
|
||||
- mkdir "$HOME/.ssh"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue