Skip to content

Commit

Permalink
Tese CI for split job
Browse files Browse the repository at this point in the history
  • Loading branch information
northword authored Sep 26, 2023
1 parent 9dc2084 commit 7783415
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 5 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/charts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,8 @@ jobs:
run: |
npm install
npm run get-chart
- name: Upload Output
uses: actions/upload-artifact@v2
with:
path: docs/
23 changes: 18 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,18 @@ env:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
build:
plugins-info:
name: Plugins Info
uses: ./.github/workflows/plugins-info.yml

charts:
name: Charts Info
uses: ./.github/workflows/charts.yml

deploy:
needs:
- plugins-info
- charts
runs-on: ubuntu-latest
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
Expand All @@ -28,10 +39,12 @@ jobs:
with:
persist-credentials: false
fetch-depth: 0
- name: Plugins Info
uses: ./.github/workflows/plugins-info.yml
- name: Charts
uses: ./.github/workflows/charts.yml

- name: Download Build Output
uses: actions/download-artifact@v2
with:
path: docs

- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/plugins-info.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,8 @@ jobs:
run: |
npm install
npm run get-info
- name: Upload Output
uses: actions/upload-artifact@v2
with:
path: docs/

0 comments on commit 7783415

Please sign in to comment.