Skip to content

Commit

Permalink
fix: updated cicd secret keys
Browse files Browse the repository at this point in the history
  • Loading branch information
liaohui5 committed Dec 15, 2023
1 parent 53fe315 commit 15ea2b3
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,13 @@ steps:
settings:
settings:
host:
from_secret: ssh_host
from_secret: SSH_HOST
username:
from_secret: ssh_user
from_secret: SSH_USER
password:
from_secret: ssh_pass
from_secret: SSH_PASS
port:
from_secret: ssh_port
from_secret: SSH_PORT
command_timeout: 2m
source: ./dist.bz2
target: ~/gitea/study_notes
Expand All @@ -82,13 +82,13 @@ steps:
branch: main # 只有在push 到 main 分支的时候才执行
settings:
host:
from_secret: ssh_host
from_secret: SSH_HOST
username:
from_secret: ssh_user
from_secret: SSH_USER
password:
from_secret: ssh_pass
from_secret: SSH_PASS
port:
from_secret: ssh_port
from_secret: SSH_PORT
command_timeout: 2m
script:
- cd ~/gitea/study_notes
Expand Down

0 comments on commit 15ea2b3

Please sign in to comment.