ci: update examples workflow
This commit is contained in:
2
.github/scripts/build.mjs
vendored
2
.github/scripts/build.mjs
vendored
@@ -30,7 +30,7 @@ const {plugins, templates} = await metadata({log:false, diff:true})
|
|||||||
const workflow = []
|
const workflow = []
|
||||||
|
|
||||||
//Config and general documentation auto-generation
|
//Config and general documentation auto-generation
|
||||||
for (const step of []) {
|
for (const step of ["config", "documentation"]) {
|
||||||
switch (step) {
|
switch (step) {
|
||||||
case "config":
|
case "config":
|
||||||
await update({source:paths.join(__action, "action.yml"), output:"action.yml"})
|
await update({source:paths.join(__action, "action.yml"), output:"action.yml"})
|
||||||
|
|||||||
6
.github/scripts/files/examples.yml
vendored
6
.github/scripts/files/examples.yml
vendored
@@ -1,7 +1,7 @@
|
|||||||
name: Examples
|
name: Examples
|
||||||
on:
|
on:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: "0 8 * * *"
|
- cron: "0 8 1/2 * *"
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
@@ -11,7 +11,7 @@ jobs:
|
|||||||
|
|
||||||
examples:
|
examples:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: false
|
if: "github.repository == 'lowlighter/metrics'"
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
@@ -38,7 +38,7 @@ jobs:
|
|||||||
|
|
||||||
examples-markdown:
|
examples-markdown:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: false
|
if: "github.repository == 'lowlighter/metrics'"
|
||||||
container: ghcr.io/lowlighter/metrics:master
|
container: ghcr.io/lowlighter/metrics:master
|
||||||
needs: [examples]
|
needs: [examples]
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
6
.github/workflows/examples.yml
vendored
6
.github/workflows/examples.yml
vendored
@@ -1,7 +1,7 @@
|
|||||||
name: Examples
|
name: Examples
|
||||||
on:
|
on:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: "0 8 * * *"
|
- cron: "0 8 1/2 * *"
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
@@ -11,7 +11,7 @@ jobs:
|
|||||||
|
|
||||||
examples:
|
examples:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: false
|
if: "github.repository == 'lowlighter/metrics'"
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
@@ -929,7 +929,7 @@ jobs:
|
|||||||
|
|
||||||
examples-markdown:
|
examples-markdown:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: false
|
if: "github.repository == 'lowlighter/metrics'"
|
||||||
container: ghcr.io/lowlighter/metrics:master
|
container: ghcr.io/lowlighter/metrics:master
|
||||||
needs: [examples]
|
needs: [examples]
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
Reference in New Issue
Block a user