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