fix: scripts

source .bashrc before running jobs
This commit is contained in:
nikomiko 2026-02-08 08:34:21 -05:00
parent 13e98087c9
commit 650b09e2c8
2 changed files with 2 additions and 2 deletions

View file

@ -17,4 +17,4 @@ jobs:
- name: SSH and run deployment script
run: |
ssh -i ~/.ssh/id_ed25519 ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }} \
'sh "${{ secrets.SOURCE_PATH }}"/deploy.sh "${{ secrets.SOURCE_PATH }}" "${{ secrets.STATIC_PATH }}" "${{ secrets.BACKEND_PATH }}"'
'source ~/.bashrc && sh "${{ secrets.SOURCE_PATH }}"/deploy.sh "${{ secrets.SOURCE_PATH }}" "${{ secrets.STATIC_PATH }}" "${{ secrets.BACKEND_PATH }}"'