This commit is contained in:
@@ -9,6 +9,10 @@ jobs:
|
|||||||
deploy:
|
deploy:
|
||||||
runs-on: [frontend] # ✅ matches your psgbuild02 runner
|
runs-on: [frontend] # ✅ matches your psgbuild02 runner
|
||||||
|
|
||||||
|
env:
|
||||||
|
SSH_HOST: ${{ secrets.SSH_HOST }}
|
||||||
|
SSH_USER: ${{ secrets.SSH_USER }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
@@ -23,5 +27,6 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Deploy via script
|
- name: Deploy via script
|
||||||
run: |
|
run: |
|
||||||
ssh ${SSH_USER}@${SSH_HOST} "bash /home/sonder/deploy.sh ${{ steps.envmap.outputs.ENV }}"
|
ssh -o StrictHostKeyChecking=no ${SSH_USER}@${SSH_HOST} \
|
||||||
|
"bash /home/sonder/deploy.sh ${{ steps.envmap.outputs.ENV }}"
|
||||||
|
|||||||
Reference in New Issue
Block a user