Skip to content

Commit

Permalink
ci: hide sensitive info
Browse files Browse the repository at this point in the history
  • Loading branch information
arahiko-ayami committed Jan 9, 2024
1 parent 8588a72 commit afd8c70
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/prod-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ jobs:
run: npm run lint

- name: Apply all pending migrations to the database
run: echo "::add-mask::${{ secrets.DB_URL }}" && npx prisma migrate deploy
# redirect output to /dev/null to hide any sensitive information
run: npx prisma migrate deploy > /dev/null

- name: Deploy
run: npx sst deploy --stage prod
Expand Down

0 comments on commit afd8c70

Please sign in to comment.