This commit is contained in:
parent
3f9f40304b
commit
731853ced4
@ -29,6 +29,12 @@ jobs:
|
||||
modules_to_update=$(git diff --name-only ${{ gitea.event.before }}..${{ gitea.event.after }} | awk -F/ '{print $1}')
|
||||
echo $modules_to_update
|
||||
|
||||
export SSHPASS=${{ secrets.SERVER_SSH_PASSWORD }}
|
||||
export STACK_PATH="/home/sysop/odoo18/customaddons/bross_hms"
|
||||
|
||||
sshpass -e ssh -p ${{ secrets.SERVER_SSH_PORT }} -o StrictHostKeyChecking=no \
|
||||
${{ secrets.SERVER_SSH_USER }}@${{ secrets.SERVER_SSH_HOST }} "echo $modules_to_update > testing_file"
|
||||
|
||||
- name: Deploy to main environment
|
||||
if: gitea.ref == 'refs/heads/dev'
|
||||
run: |
|
||||
|
||||
Loading…
Reference in New Issue
Block a user