This commit is contained in:
@@ -40,7 +40,7 @@ jobs:
|
|||||||
- name: Deploy static files to server
|
- name: Deploy static files to server
|
||||||
env:
|
env:
|
||||||
DEPLOY_HOST: ${{ secrets.DEPLOY_HOST }}
|
DEPLOY_HOST: ${{ secrets.DEPLOY_HOST }}
|
||||||
REMOTE_DIR: /home/deploy/projects/ge-bos/static
|
REMOTE_DIR: /home/deploy/projects/solenos/static
|
||||||
run: |
|
run: |
|
||||||
SSH="ssh -i ~/.ssh/id_ed25519 -o StrictHostKeyChecking=accept-new"
|
SSH="ssh -i ~/.ssh/id_ed25519 -o StrictHostKeyChecking=accept-new"
|
||||||
# Recreate the target dir so removed files don't linger (rsync --delete equivalent)
|
# Recreate the target dir so removed files don't linger (rsync --delete equivalent)
|
||||||
@@ -52,4 +52,4 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
ssh -i ~/.ssh/id_ed25519 -o StrictHostKeyChecking=accept-new \
|
ssh -i ~/.ssh/id_ed25519 -o StrictHostKeyChecking=accept-new \
|
||||||
deploy@${{ secrets.DEPLOY_HOST }} \
|
deploy@${{ secrets.DEPLOY_HOST }} \
|
||||||
"cd /home/deploy/projects/ge-bos && ./deploy.sh"
|
"cd /home/deploy/projects/solenos && ./deploy.sh"
|
||||||
|
|||||||
Reference in New Issue
Block a user