Skip to content

Commit 1a3d6b5

Browse files
Merge branch 'master' of github.com:deepakmahakale/kamal_wiki
2 parents 6ea9f2b + a2ae94c commit 1a3d6b5

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

.github/workflows/index-pages.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Request Page Indexing
22
on:
33
workflow_run:
4-
workflows: ["pages build and deployment"]
4+
workflows: [pages-build-deployment]
55
types: [completed]
66

77
jobs:
@@ -10,18 +10,24 @@ jobs:
1010
if: ${{ github.event.workflow_run.conclusion == 'success' }}
1111
steps:
1212
- uses: actions/checkout@v4
13+
1314
- name: Use Node.js
1415
uses: actions/setup-node@v4
1516
with:
16-
node-version: 20
1717
cache: 'npm'
18+
19+
- name: Install dependencies
20+
run: npm install -g google-indexing-script
21+
1822
- name: Cache Index File
1923
id: cache-index
2024
uses: actions/cache@v4
2125
with:
2226
path: .cache/
2327
key: ${{ runner.os }}-cache
24-
- run: gis kamal.wiki
28+
29+
- name: Run Google Indexing Script
30+
run: google-indexing-script kamal.wiki
2531
env:
2632
GIS_CLIENT_EMAIL: ${{ secrets.GIS_CLIENT_EMAIL }}
2733
GIS_PRIVATE_KEY: ${{ secrets.GIS_PRIVATE_KEY }}

0 commit comments

Comments
 (0)