Skip to content

Commit

Permalink
Add a schedule instead of a push trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
rajbos committed Oct 21, 2023
1 parent 27169fa commit 5768175
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/createExampleRepos.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
name: Create Example Repos
on:
workflow_dispatch:
push:
branches:
- scaleUp
schedule:
- cron: "5 23 * * 5, 6"

jobs:
create:
Expand All @@ -21,6 +20,6 @@ jobs:
env:
AZURE_DEVOPS_CREATE_PAT: ${{ secrets.AZURE_DEVOPS_CREATE_PAT }}
TEMP: ${{ runner.temp }}
PROVISIONCOUNT: 1
PROVISIONCOUNT: ${{ vars.PROVISIONCOUNT }}
run: |
.\make.ps1 -command "provision" -provisionCount $env:PROVISIONCOUNT

0 comments on commit 5768175

Please sign in to comment.