Skip to content

Commit 43c7f0c

Browse files
authored
Update cron.yml
Always deploy to prod on cron
1 parent 23e0f2f commit 43c7f0c

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

.github/workflows/cron.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,5 @@ jobs:
3434
- name: Build
3535
run: deno task build
3636

37-
- name: Deploy to Preview
38-
run: deployctl deploy --token=${{ secrets.DENO_DEPLOY_TOKEN }}
39-
if: github.ref != 'refs/tags/prod'
40-
41-
# If we're building a thing that's called prod
4237
- name: Deploy to Production
4338
run: deployctl deploy --prod --token=${{ secrets.DENO_DEPLOY_TOKEN }}
44-
if: github.ref == 'refs/tags/prod'

0 commit comments

Comments
 (0)