Skip to content

Commit

Permalink
Fix gh action
Browse files Browse the repository at this point in the history
  • Loading branch information
Alberto Gutierrez committed Oct 16, 2024
1 parent 5185a38 commit 0df0089
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 83 deletions.
30 changes: 29 additions & 1 deletion .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Pull Metrics

on:
workflow_dispatch:
schedule:
# Every night at 04:00 (UTC)
- cron: "0 4 * * *"
Expand Down Expand Up @@ -41,4 +42,31 @@ jobs:
else
echo -e "\e[1;39mNo changes were detected.\e[0m"
fi
shell: bash
shell: bash
build-and-deploy:
runs-on: ubuntu-latest

steps:
- name: Checkout 🛎️
uses: actions/checkout@v4

- name: Setup node
uses: actions/setup-node@v4
with:
node-version: "20"
cache: yarn
cache-dependency-path: website/yarn.lock
- name: Update events
run: |
echo "Updating"
make generate_event_json
- name: Install and Build 🔧
env:
PUBLIC_URL: https://kiali.org/community/
run: make build

- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: website/build
2 changes: 1 addition & 1 deletion events/2024_10_Setup_your_mesh_ES/event.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"type": "workshop",
"presentation": {
"type" : "markdown",
"link": "https://raw.githubusercontent.com/kiali/community/refs/heads/main/2024_10_Setup_your_mesh_ES/Setup%20your%20mesh%20with%20Istio%20and%20Kiali.md"
"link": "https://raw.githubusercontent.com/kiali/community/refs/heads/main/events/2024_10_Setup_your_mesh_ES/Setup%20your%20mesh%20with%20Istio%20and%20Kiali.md"
},
"folder_path": "https://github.com/kiali/community/tree/main/2024_10_Setup_your_mesh_ES"
}
82 changes: 1 addition & 81 deletions website/src/data/metrics.json
Original file line number Diff line number Diff line change
@@ -1,81 +1 @@
{
"repositories": {
"kiali": {
"license": "Apache License 2.0",
"description": "Kiali project, observability for the Istio service mesh",
"url": "https://github.com/kiali/kiali",
"created": "2018-02-04",
"topics": [
"istio",
"management",
"observability",
"openshift",
"service-mesh"
],
"metrics": {
"2024-10-16": {
"forks": 485,
"issues": 134,
"stars": 3384,
"size": 66610
}
},
"language": {
"TypeScript": 3747509,
"Go": 3657364,
"Shell": 768660,
"Gherkin": 214844,
"Makefile": 98407,
"SCSS": 41485,
"HTML": 2079,
"Dockerfile": 1565,
"Python": 246,
"JavaScript": 113
}
},
"kiali-operator": {
"license": "Apache License 2.0",
"description": "Kiali operator that is used to install, manage, and update Kiali deployments.",
"url": "https://github.com/kiali/kiali-operator",
"created": "2020-04-14",
"topics": [],
"metrics": {
"2024-10-07": {
"forks": 115,
"issues": 2,
"stars": 79,
"size": 2528
}
},
"language": {
"Shell": 63940,
"Dockerfile": 44122,
"Python": 19824,
"Makefile": 10308
}
},
"openshift-servicemesh-plugin": {
"license": "Apache License 2.0",
"description": "Webpack Plugin to integrate Kiali into OpenShift Console",
"url": "https://github.com/kiali/openshift-servicemesh-plugin",
"created": "2022-05-25",
"topics": [],
"metrics": {
"2024-10-11": {
"forks": 15,
"issues": 3,
"stars": 7,
"size": 8821
}
},
"language": {
"TypeScript": 3785070,
"Gherkin": 214103,
"SCSS": 41579,
"Makefile": 17313,
"Shell": 13179,
"Dockerfile": 1167
}
}
}
}
{}

0 comments on commit 0df0089

Please sign in to comment.