Skip to content

Commit

Permalink
Correct the ssh to remove the -c option
Browse files Browse the repository at this point in the history
Remove the -c option from the SSH command when running the emailer.test tool.
-c specifies the cipher suite, not the command to run.
  • Loading branch information
owenwaller committed Feb 22, 2024
1 parent d32a3d5 commit c918d57
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/emailformgateway.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,13 @@ jobs:

- name: Copy files to server
run: |
scp ./test_envs.sh ./emailer.test ./*.template ./gophercoders-config.toml ./$TEST_CONFIG_FILE.toml gophercoders.com:
scp ./test_envs.sh ./emailer.test ./*.template ./gophercoders-config.toml $TEST_CONFIG_FILE.toml gophercoders.com:
env:
TEST_CONFIG_FILE: ${{ secrets.TEST_CONFIG_FILE }}

- name: Run emailer.test test
run: |
ssh gophercoders.com -c "source ./test_envs.sh; TEST_TEMPLATES_DIR=$PWD TEST_DOMAIN=gophercoders.com ./emailer.test"
ssh gophercoders.com "source ./test_envs.sh; TEST_TEMPLATES_DIR=$PWD TEST_DOMAIN=gophercoders.com ./emailer.test"
- name: Delete ssh dir
if: ${{ always() }}
Expand Down

0 comments on commit c918d57

Please sign in to comment.