Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c9dab3c

Browse files
committed
fix preview deployments logic
1 parent 98b431e commit c9dab3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/deploy-prod.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,4 @@ jobs:
3030
repoToken: "${{ secrets.GITHUB_TOKEN }}"
3131
firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT }}"
3232
projectId: cp-algorithms
33-
channelId: ${{ github.event_name == 'pull' && github.ref == 'refs/heads/master' && env.LIVE_NAME || env.PREVIEW_NAME }}
33+
channelId: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' && env.LIVE_NAME || env.PREVIEW_NAME }}

0 commit comments

Comments
 (0)