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 = []
|
||||
|
||||
//Config and general documentation auto-generation
|
||||
for (const step of []) {
|
||||
for (const step of ["config", "documentation"]) {
|
||||
switch (step) {
|
||||
case "config":
|
||||
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
|
||||
on:
|
||||
schedule:
|
||||
- cron: "0 8 * * *"
|
||||
- cron: "0 8 1/2 * *"
|
||||
workflow_dispatch:
|
||||
jobs:
|
||||
|
||||
@@ -11,7 +11,7 @@ jobs:
|
||||
|
||||
examples:
|
||||
runs-on: ubuntu-latest
|
||||
if: false
|
||||
if: "github.repository == 'lowlighter/metrics'"
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v2
|
||||
@@ -38,7 +38,7 @@ jobs:
|
||||
|
||||
examples-markdown:
|
||||
runs-on: ubuntu-latest
|
||||
if: false
|
||||
if: "github.repository == 'lowlighter/metrics'"
|
||||
container: ghcr.io/lowlighter/metrics:master
|
||||
needs: [examples]
|
||||
steps:
|
||||
|
||||
6
.github/workflows/examples.yml
vendored
6
.github/workflows/examples.yml
vendored
@@ -1,7 +1,7 @@
|
||||
name: Examples
|
||||
on:
|
||||
schedule:
|
||||
- cron: "0 8 * * *"
|
||||
- cron: "0 8 1/2 * *"
|
||||
workflow_dispatch:
|
||||
jobs:
|
||||
|
||||
@@ -11,7 +11,7 @@ jobs:
|
||||
|
||||
examples:
|
||||
runs-on: ubuntu-latest
|
||||
if: false
|
||||
if: "github.repository == 'lowlighter/metrics'"
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v2
|
||||
@@ -929,7 +929,7 @@ jobs:
|
||||
|
||||
examples-markdown:
|
||||
runs-on: ubuntu-latest
|
||||
if: false
|
||||
if: "github.repository == 'lowlighter/metrics'"
|
||||
container: ghcr.io/lowlighter/metrics:master
|
||||
needs: [examples]
|
||||
steps:
|
||||
|
||||
Reference in New Issue
Block a user