Update video-backend-EC2-deploy.yml #43
This file contains 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: Video-frontend-S3 Deployment | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v2 | |
- name: Install AWS CLI | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y awscli | |
- name: Configure AWS Credentials | |
run: | | |
pwd | |
ls | |
aws configure set aws_access_key_id "${{ secrets.AWS_ACCESS_KEY_ID }}" | |
aws configure set aws_secret_access_key "${{ secrets.AWS_SECRET_ACCESS_KEY }}" | |
aws configure set region "eu-north-1" | |
- name: Deploy to S3 | |
run: | | |
aws s3 sync ./client/build s3://video-recommandation-app-tsione-2024 --debug | |