Skip to content

fix: add pipenv to pipeline run command #7

fix: add pipenv to pipeline run command

fix: add pipenv to pipeline run command #7

Workflow file for this run

on:
push:
branches:
- dev
- main
jobs:
build-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v4
- uses: aws-actions/setup-sam@v1
- uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: us-east-1
# sam build
- run: |
pip install --upgrade pip

Check failure on line 20 in .github/workflows/sam-pipeline.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/sam-pipeline.yml

Invalid workflow file

You have an error in your yaml syntax on line 20
pip install pipenv --user
sam build --use-container
# Run Unit tests- Specify unit tests here
# sam deploy
- run: sam deploy --no-confirm-changeset --no-fail-on-empty-changeset --stack-name sam-hello-world --s3-bucket meter-anomaly-cron-sam-deployment-bucket --capabilities CAPABILITY_IAM --region us-east-1