Skip to content

Commit

Permalink
fix: f preview (#131)
Browse files Browse the repository at this point in the history
  • Loading branch information
maalni authored Apr 10, 2024
1 parent 589e3b4 commit 491ebea
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
1 change: 0 additions & 1 deletion .github/workflows/check-code-quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ on:
push:
branches:
- main
- preview
pull_request:
branches:
- '**'
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/delete-redundant-deployments.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,10 @@ on:
- closed
branches:
- main
- preview

jobs:
delete:
if: ${{ github.actor != 'dependabot[bot]' && github.event.pull_request.head.repo.full_name == 'dval-in/dval-in' }}
if: ${{ github.actor != 'dependabot[bot]' && github.event.pull_request.head.repo.full_name == 'dval-in/dvalin-frontend' }}
permissions:
contents: read
deployments: write
Expand Down
13 changes: 8 additions & 5 deletions .github/workflows/deploy-to-cloudflare.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,16 @@

name: 'Deploy to Cloudflare'
on:
workflow_run:
workflows: [Check code quality]
types:
- completed
push:
branches:
- main
pull_request:
branches:
- main

jobs:
on-success:
deploy:
if: ${{ github.actor != 'dependabot[bot]' && github.event.pull_request.head.repo.full_name == 'dval-in/dvalin-frontend' }}
permissions:
contents: read
deployments: write
Expand Down

0 comments on commit 491ebea

Please sign in to comment.