diff --git a/.github/workflows/deploy-to-beta.yml b/.github/workflows/deploy-to-beta.yml index 74d200be..07c2e2e1 100644 --- a/.github/workflows/deploy-to-beta.yml +++ b/.github/workflows/deploy-to-beta.yml @@ -76,6 +76,9 @@ jobs: - name: run deployment script over ssh uses: appleboy/ssh-action@v0.1.5 + env: + TEST_NAME: ${{ needs.pr_commented.outputs.branch-name }} + BRANCH_NAME: ${{ env.BRANCH_NAME }} with: timeout: 10s command_timeout: 10m @@ -83,8 +86,9 @@ jobs: 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