Skip to content

Commit

Permalink
fix(ci): include kube-prometheus in github workflow (jsonnet-libs#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
Duologic authored Jul 8, 2021
1 parent ac20fa7 commit c48653c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
13 changes: 13 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,18 @@
"GIT_COMMITTER_NAME": "jsonnet-libs-bot"
"SSH_KEY": "${{ secrets.DEPLOY_KEY }}"
"run": "make build libs/k8s"
"kube-prometheus":
"name": "Generate kube-prometheus Jsonnet library and docs"
"needs": "repos"
"runs-on": "ubuntu-latest"
"steps":
- "uses": "actions/checkout@v2"
- "env":
"GEN_COMMIT": "${{ github.ref == 'refs/heads/master' && github.repository == 'jsonnet-libs/k8s' }}"
"GIT_COMMITTER_EMAIL": "[email protected]"
"GIT_COMMITTER_NAME": "jsonnet-libs-bot"
"SSH_KEY": "${{ secrets.DEPLOY_KEY }}"
"run": "make build libs/kube-prometheus"
"repos":
"name": "Create repositories"
"runs-on": "ubuntu-latest"
Expand Down Expand Up @@ -107,6 +119,7 @@
"repos_with_pages":
"name": "Set up gh-pages branch"
"needs":
- "kube-prometheus"
- "istio"
- "crossplane"
- "strimzi"
Expand Down
2 changes: 1 addition & 1 deletion jsonnet/config.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@

'skel/README.md': this.readme_template(
name=name,
data='[Docs](https://' + this.site_url + ')',
data='[Docs](' + this.site_url + ')',
),

'skel/docs/README.md': this.readme_template(
Expand Down

0 comments on commit c48653c

Please sign in to comment.