Difference between revisions of "GitHub Actions: schedule:"

From wikieduonline
Jump to navigation Jump to search
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#schedule
 
https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#schedule
  
 +
[[docker-publish.yml]]
 +
 +
[[on]]:
 +
  schedule:
 +
    - cron: $cron-daily
 +
  [[push:]]
 +
    branches: [ $default-branch ]
 +
    # Publish semver tags as releases.
 +
    tags: [ 'v*.*.*' ]
 +
  [[pull_request:]]
 +
    branches: [ $default-branch ]
 +
 +
 +
on:
 +
  [[workflow_dispatch:]]
 +
  schedule:
 +
    - [[cron:]] '0 */6 * * *' # “At minute 0 past every 6th hour.”
  
 
== Related ==
 
== Related ==
*  
+
* [[GitHub Actions: events that trigger workflows]]
 
 
  
 
== See also ==
 
== See also ==
 +
* {{on}}
 
* {{GitHub Actions}}
 
* {{GitHub Actions}}

Latest revision as of 06:28, 6 June 2024

Advertising: