Skip to content

Commit

Permalink
Merge pull request #1449 from bakaphp/add-ec2-deploy-action
Browse files Browse the repository at this point in the history
Add ec2 deploy action
  • Loading branch information
rwhite27 authored Jun 5, 2024
2 parents 042aad9 + f4d3696 commit d0ad126
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ec2-deploy.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: SCP to Memod Elastic Indexer VM
name: Deploy to EC2

on:
workflow_dispatch:

jobs:
scp-to-vm:
deploy-to-ec2:
runs-on: ubuntu-latest
environment: ${{ github.ref_name }}
permissions:
Expand All @@ -19,5 +19,5 @@ jobs:
host: ${{ secrets.AWS_EC2_HOST }}
username: ${{ secrets.AWS_EC2_USERNAME }}
key: ${{ secrets.AWS_EC2_PRIVATE_SSH_KEY }}
source: ${{ github.workspace }}
source: .
target: ${{secrets.AWS_EC2_TARGET_DIR}}

0 comments on commit d0ad126

Please sign in to comment.