Update deploy.yml #4
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 : Push code to EC2 imaage | |
on: | |
push: | |
branches: main | |
jobs: | |
build-push-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name : Checkout Code | |
uses: actions/checkout@v4 | |
- name : List directory | |
run : ls -al | |
- name: "Configure AWS Credentials" | |
uses: aws-actions/configure-aws-credentials@v4.0.2 | |