Skip to content

Commit dd2aec6

Browse files
committed
updated:config file
1 parent 01ba5b7 commit dd2aec6

3 files changed

Lines changed: 8 additions & 2 deletions

File tree

.github/workflows/deploy.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,12 @@ jobs:
2424
- name: Add SSH known host
2525
run: ssh-keyscan -H ${{ secrets.SSH_HOST }} >> ~/.ssh/known_hosts
2626

27+
- name: Git pull files
28+
run: |
29+
ssh -o BatchMode=yes -i ~/.ssh/deploy_key ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }} \
30+
"cd ${{ secrets.REMOTE_REPO_PATH }} && git pull origin main"
31+
2732
- name: Run remote deploy commands using key file
2833
run: |
2934
ssh -o BatchMode=yes -i ~/.ssh/deploy_key ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }} \
30-
"cd ${{ secrets.REMOTE_REPO_PATH }} && git pull origin main && make all"
35+
"cd ${{ secrets.REMOTE_REPO_PATH }} && make all"

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,5 @@
55
/static/server.key
66
/static/server.crt
77
/plugin/*.vsix
8-
/.vscode/
8+
/.vscode/
9+
/config.yaml
File renamed without changes.

0 commit comments

Comments
 (0)