fix: deployment scripts and index.ts problems
This commit is contained in:
parent
2fd544c0a7
commit
e950e7ea8e
4 changed files with 54 additions and 17 deletions
4
.github/workflows/ssh-deploy.yml
vendored
4
.github/workflows/ssh-deploy.yml
vendored
|
|
@ -1,4 +1,4 @@
|
|||
name: SSH Deploy
|
||||
name: SSH Deploy Staged
|
||||
|
||||
on:
|
||||
push:
|
||||
|
|
@ -20,4 +20,4 @@ jobs:
|
|||
- name: SSH and run deployment script
|
||||
run: |
|
||||
ssh -i ~/.ssh/id_ed25519 ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }} \
|
||||
'cd ${{ secrets.SOURCE_DIR }} && git pull && sh ./deploy.sh ${{ secrets.SOURCE_DIR }} ${{ secrets.HTML_DIR }}'
|
||||
'sh ./stage.sh'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue