Skip to content

Commit 103ae24

Browse files
committed
Schedule should only fire on Sundays and should not trigger package deployment
1 parent 7c1d49a commit 103ae24

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111
- published
1212
schedule:
1313
# Run this workflow at 6 PM UTC every Sunday
14-
- cron: "0 18 * * *"
14+
- cron: "0 18 * * 0"
1515

1616
concurrency:
1717
group: ${{ github.workflow }}-${{ github.ref }}
@@ -127,7 +127,7 @@ jobs:
127127
name: Deploy packages to development feed
128128
timeout-minutes: 15
129129
needs: sign
130-
if: ${{ github.event_name != 'pull_request' }}
130+
if: ${{ github.event_name != 'pull_request' && github.event_name != 'schedule' }}
131131
environment: azdo
132132
runs-on: ubuntu-latest
133133
permissions:

0 commit comments

Comments
 (0)