Skip to content

Commit

Permalink
#115 - try to pass envs to ssh script (#274)
Browse files Browse the repository at this point in the history
try to pass envs to ssh script
  • Loading branch information
mtracz authored Dec 7, 2022
1 parent d64630b commit d86ff6d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/deploy-to-beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,15 +76,19 @@ jobs:

- name: run deployment script over ssh
uses: appleboy/[email protected]
env:
TEST_NAME: ${{ needs.pr_commented.outputs.branch-name }}
BRANCH_NAME: ${{ env.BRANCH_NAME }}
with:
timeout: 10s
command_timeout: 10m
host: ${{ secrets.TOBY_VPS_HOST }}
port: ${{ secrets.TOBY_VPS_PORT }}
username: ${{ secrets.TOBY_VPS_USERNAME }}
password: ${{ secrets.TOBY_VPS_PASSWORD }}
envs: BRANCH_NAME
envs: BRANCH_NAME,TEST_NAME
script_stop: true
debug: true
script: make --makefile=/blumilk/beta/projects/toby/Makefile beta-deploy

- name: comment PR that changes has been deployed to beta
Expand Down

0 comments on commit d86ff6d

Please sign in to comment.