File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change 1
1
name : Request Page Indexing
2
2
on :
3
3
workflow_run :
4
- workflows : [" pages build and deployment" ]
4
+ workflows : [pages- build- deployment]
5
5
types : [completed]
6
6
7
7
jobs :
@@ -10,18 +10,24 @@ jobs:
10
10
if : ${{ github.event.workflow_run.conclusion == 'success' }}
11
11
steps :
12
12
- uses : actions/checkout@v4
13
+
13
14
- name : Use Node.js
14
15
uses : actions/setup-node@v4
15
16
with :
16
- node-version : 20
17
17
cache : ' npm'
18
+
19
+ - name : Install dependencies
20
+ run : npm install -g google-indexing-script
21
+
18
22
- name : Cache Index File
19
23
id : cache-index
20
24
uses : actions/cache@v4
21
25
with :
22
26
path : .cache/
23
27
key : ${{ runner.os }}-cache
24
- - run : gis kamal.wiki
28
+
29
+ - name : Run Google Indexing Script
30
+ run : google-indexing-script kamal.wiki
25
31
env :
26
32
GIS_CLIENT_EMAIL : ${{ secrets.GIS_CLIENT_EMAIL }}
27
33
GIS_PRIVATE_KEY : ${{ secrets.GIS_PRIVATE_KEY }}
You can’t perform that action at this time.
0 commit comments