Skip to content
This repository has been archived by the owner on Dec 12, 2024. It is now read-only.

Commit

Permalink
Añadido Google Indexing Action
Browse files Browse the repository at this point in the history
- Añadido Google Indexing Action
- Corregida Bing IndexNow
  • Loading branch information
TeenBiscuits committed Apr 15, 2024
1 parent f5fe05a commit 902e621
Showing 1 changed file with 19 additions and 3 deletions.
22 changes: 19 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ jobs:
uses: actions/deploy-pages@v4

publicar-indexes:
name: 🔎 Publicar Indexes
name: 🔎 Algolia Index
if: github.repository == 'TeenBiscuits/Pro2324'
needs: [construir, comprobar, publicar]
runs-on: ubuntu-latest
Expand Down Expand Up @@ -149,7 +149,7 @@ jobs:
indexnow:
needs: [construir, comprobar, publicar]
name: 🔎 Publicar Sitemap
name: 🔎 Bing IndexNow
if: github.repository == 'TeenBiscuits/Pro2324'
runs-on: ubuntu-latest
steps:
Expand All @@ -161,5 +161,21 @@ jobs:
with:
sitemap-location: 'https://teenbiscuits.github.io/Pro2324/sitemap.xml'
key: ${{ secrets.INDEXNOW_KEY }}
# endpoint: www.bing.com # Es el default
key-location: 'https://teenbiscuits.github.io/Pro2324/${{ secrets.INDEXNOW_KEY }}.txt'
endpoint: www.bing.com # Es el default
failure-strategy: error

google-indexing:
needs: [construir, comprobar, publicar]
name: 🔎 Google Index
if: github.repository == 'TeenBiscuits/Pro2324'
runs-on: ubuntu-latest
steps:
- name: ⬆️ Subir Urls
# Robin Genz
# MIT
# https://github.com/robingenz/google-indexing-action
uses: robingenz/google-indexing-action@main
with:
siteUrl: 'https://teenbiscuits.github.io/Pro2324'
gcpServiceAccountKey: ${{ secrets.GCP_SA_KEY }}

0 comments on commit 902e621

Please sign in to comment.