Browse Source

deploy++++

κρμγ 4 years ago
parent
commit
07d7420c1a
1 changed files with 2 additions and 4 deletions
  1. 2 4
      .drone.yml

+ 2 - 4
.drone.yml

@@ -16,10 +16,8 @@ pipeline:
 
   deploy-backend:
     image: docker
-    environment:
-      SSH_PRIVATE_KEY:
-        from_secret:
-          - ssh_private_key
+    secrets:
+      SSH_PRIVATE_KEY: ssh_private_key
     commands:
       - apk add --no-cache openssh-client net-tools
       - mkdir -p ~/.ssh