Skip to content

Merge pull request #181 from Capstone-Projects-2024-Spring/timber #96

Merge pull request #181 from Capstone-Projects-2024-Spring/timber

Merge pull request #181 from Capstone-Projects-2024-Spring/timber #96

Workflow file for this run

name: Push-to-EC2
# Trigger deployment only on push to master branch
on:
push:
branches:
- main
jobs:
deploy:
name: Deploy to EC2 on master branch push
runs-on: ubuntu-latest
steps:
- name: Checkout the files
uses: actions/checkout@v2
- name: Deploy to EC2
uses: easingthemes/ssh-deploy@main
env:
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
REMOTE_HOST: ${{ secrets.EC2_HOST }}
REMOTE_USER: ${{ secrets.EC2_USERNAME }}
TARGET: ${{ secrets.TARGET_DIR }}
SOURCE: "colorInSync/"