Skip to content

should work

should work #4

Workflow file for this run

name: Deploy to S3
on:
push:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install AWS CLI
run: |
sudo apt-get update
sudo apt-get install -y python3-pip
sudo pip3 install awscli --upgrade
- name: Configure AWS credentials
run: aws configure set aws_access_key_id ${{ secrets.AWS_ACCESS_KEY_ID }} && aws configure set aws_secret_access_key ${{ secrets.AWS_SECRET_ACCESS_KEY_ID }} && aws configure set region ${{ secrets.AWS_REGION }}
- name: Sync files to S3
run: aws s3 sync . s3://aniketbucket3/Proj-B --delete