Skip to content

Commit

Permalink
fix(ci): don't run D1 migrations on non-prod deploy CI
Browse files Browse the repository at this point in the history
  • Loading branch information
davwheat committed Apr 8, 2024
1 parent aad7f34 commit ff305bb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/smoketest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ jobs:
yarn sentry-cli --url https://sentry.service.davw.network releases finalize "$VERSION"
- name: Run D1 migrations
if: github.ref == 'refs/heads/deploy' && github.event_name == 'push'
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
Expand Down

0 comments on commit ff305bb

Please sign in to comment.