Skip to content

Commit

Permalink
Update action.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jeiksegovia authored Dec 21, 2022
1 parent 45b2e95 commit c0723a7
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions .github/workflows/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
run: |
echo "starting linting"
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
flake8 . --count --exit-zero --max-complexity=10 --max-line-length --statistics
build:
needs: lint
Expand Down Expand Up @@ -86,7 +86,8 @@ jobs:
uses: actions/download-artifact@v2
with:
name: zipped-bundle
- name: Configure AWS credentials
- &id001
name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
Expand All @@ -101,12 +102,13 @@ jobs:
runs-on: ubuntu-latest
needs: upload
steps:
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACESS_KEY }}
aws-region: us-east-1
- *id001
# - name: Configure AWS credentials
# uses: aws-actions/configure-aws-credentials@v1
# with:
# aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
# aws-secret-access-key: ${{ secrets.AWS_SECRET_ACESS_KEY }}
# aws-region: us-east-1
- name: Update function code
run: |
echo "${{ github.ref }}"
Expand Down

0 comments on commit c0723a7

Please sign in to comment.