Skip to content

Commit

Permalink
fix: keyscan
Browse files Browse the repository at this point in the history
  • Loading branch information
Songmin17 committed Nov 28, 2023
1 parent 8d90139 commit 66248d5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/ml_update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ jobs:
- name: Checkout code
uses: actions/checkout@v2

- name: Add SSH key for EC2 instance
run: |
mkdir -p ~/.ssh
ssh-keyscan -H ${{ secrets.CLOUD_URL }} >> ~/.ssh/known_hosts
- name: Transfer Recommendation Script
run: |
set +x
Expand Down
6 changes: 3 additions & 3 deletions recommend/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
set -e

# Set environment variables for S3 bucket and file paths
S3_BUCKET=${S3_BUCKET}
EVENT_FILE="eventData.csv"
USER_FILE="userData.csv"
# S3_BUCKET=${S3_BUCKET}
# EVENT_FILE="eventData.csv"
# USER_FILE="userData.csv"

# Use AWS CLI to download the CSV file from S3
aws s3 cp s3://${S3_BUCKET}/${EVENT_FILE} /app/
Expand Down

0 comments on commit 66248d5

Please sign in to comment.