Skip to content

Commit e050008

Browse files
committed
chore: try to fix CD
1 parent 46c47f7 commit e050008

File tree

1 file changed

+5
-30
lines changed

1 file changed

+5
-30
lines changed

.github/workflows/cd.yml

Lines changed: 5 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ env:
1111
NODE_OPTIONS: --max_old_space_size=6144
1212

1313
jobs:
14-
general-examples:
14+
build:
1515
runs-on: ubuntu-latest
1616

1717
permissions:
@@ -42,46 +42,21 @@ jobs:
4242
env:
4343
KENDO_UI_LICENSE: ${{ secrets.KENDO_UI_LICENSE }}
4444

45-
- name: Deploy to GH Pages
46-
uses: peaceiris/actions-gh-pages@v3
47-
with:
48-
github_token: ${{ steps.import-secrets.outputs.GH_TOKEN }}
49-
publish_dir: ./examples/dist
50-
user_name: "kendo-bot"
51-
user_email: "kendouiteam@progress.com"
52-
53-
standalone-examples-node18:
54-
runs-on: ubuntu-latest
55-
56-
permissions:
57-
id-token: write # Required by Akeyless
58-
contents: read
59-
packages: read
60-
61-
steps:
62-
- name: Import Secrets
63-
id: import-secrets
64-
uses: LanceMcCarthy/akeyless-action@v3
65-
with:
66-
access-id: ${{ secrets.GH_AKEYLESS_ACCESS_ID }}
67-
static-secrets: '{ "/WebComponents/prod/tokens/GH_TOKEN": "GH_TOKEN" }'
68-
export-secrets-to-environment: false
69-
7045
- name: Use NodeJS v18
7146
uses: actions/setup-node@v4
7247
with:
7348
node-version: "18"
7449

75-
- name: Check out repository
76-
uses: actions/checkout@v4
77-
78-
- name: Build
50+
- name: Build Node18 Examples
7951
run: |
8052
chmod +x ./examples-standalone/bin/build-gh-pages
8153
./examples-standalone/bin/build-gh-pages
8254
env:
8355
KENDO_UI_LICENSE: ${{ secrets.KENDO_UI_LICENSE }}
8456

57+
- name: Copy Node18 Dist
58+
run: cp -r ./examples-standalone/dist ./examples/dist
59+
8560
- name: Deploy to GH Pages
8661
uses: peaceiris/actions-gh-pages@v3
8762
with:

0 commit comments

Comments
 (0)