Skip to content

Commit

Permalink
refactor: remove env
Browse files Browse the repository at this point in the history
  • Loading branch information
bernardobridge committed Jan 23, 2024
1 parent 1ba01ee commit d47ed9a
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/serverless-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,6 @@ jobs:
run: npx serverless config credentials --provider aws --key ${{ env.AWS_ACCESS_KEY_ID }} --secret ${{ env.AWS_SECRET_ACCESS_KEY }}
- name: serverless_deploy
run: npm run deploy
env:
AWS_SDK_LOAD_CONFIG: 1
- name: seed_db
if: ${{ github.event.inputs.SHOULD_SEED_DB == true }}
run: npm run seed-db
Expand All @@ -69,6 +67,4 @@ jobs:
run: |
SERVICE_URL="$(npx serverless info --verbose | grep ServiceEndpoint | sed s/ServiceEndpoint\:\ //g)"
# echo "::add-mask::$SERVICE_URL"
echo "SERVICE_URL=$SERVICE_URL" >> "$GITHUB_OUTPUT"
env:
AWS_SDK_LOAD_CONFIG: 1
echo "SERVICE_URL=$SERVICE_URL" >> "$GITHUB_OUTPUT"

0 comments on commit d47ed9a

Please sign in to comment.