include parentheses in the test series session name #334
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy | |
on: | |
push: | |
branches: [master] | |
jobs: | |
deploy: | |
name: Deploying Latest Commit | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: deploying application to EC2 | |
env: | |
PRIVATE_KEY: ${{ secrets.SERVER_SSH_KEY }} | |
HOSTNAME: ${{ secrets.SERVER_HOST }} | |
USER_NAME: ${{ secrets.SERVER_USERNAME }} | |
run: | | |
echo "$PRIVATE_KEY" > private_key && chmod 600 private_key | |
ssh -o StrictHostKeyChecking=no -i private_key ${USER_NAME}@${HOSTNAME} sh deploy.sh |