mirror of
https://github.com/MicrosoftDocs/windows-itpro-docs.git
synced 2025-06-08 10:37:22 +00:00
Merge branch 'main' into danbrown-privacy-freshness
This commit is contained in:
commit
f3e6cdac72
6
.github/workflows/AutoPublish.yml
vendored
6
.github/workflows/AutoPublish.yml
vendored
@ -3,10 +3,11 @@ name: (Scheduled) Publish to live
|
||||
permissions:
|
||||
contents: write
|
||||
pull-requests: write
|
||||
checks: read
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: "25 5,11,17,22 * * *" # Times are UTC based on Daylight Saving Time. Need to be adjusted for Standard Time. Scheduling at :25 to account for queuing lag.
|
||||
- cron: "25 2,5,8,11,14,17,20,22 * * *" # Times are UTC based on Daylight Saving Time. Need to be adjusted for Standard Time. Scheduling at :25 to account for queuing lag.
|
||||
|
||||
workflow_dispatch:
|
||||
|
||||
@ -14,10 +15,11 @@ jobs:
|
||||
|
||||
auto-publish:
|
||||
if: github.repository_owner == 'MicrosoftDocs' && contains(github.event.repository.topics, 'build')
|
||||
uses: MicrosoftDocs/microsoft-365-docs/.github/workflows/Shared-AutoPublish.yml@workflows-prod
|
||||
uses: MicrosoftDocs/microsoft-365-docs/.github/workflows/Shared-AutoPublishV2.yml@workflows-prod
|
||||
with:
|
||||
PayloadJson: ${{ toJSON(github) }}
|
||||
EnableAutoPublish: true
|
||||
EnableAutoMerge: true
|
||||
|
||||
secrets:
|
||||
AccessToken: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user