ci: update examples workflow

This commit is contained in:
lowlighter
2022-01-15 00:15:43 -05:00
parent c0f4cf42ad
commit c0420d0289
3 changed files with 7 additions and 7 deletions

View File

@@ -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"})

View File

@@ -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:

View File

@@ -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: