From 902e621c4ad5bd8a76907c2801bbcf0712d8ed78 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pablo=20Portas=20L=C3=B3pez?= <81629707+TeenBiscuits@users.noreply.github.com> Date: Mon, 15 Apr 2024 12:09:44 +0200 Subject: [PATCH] =?UTF-8?q?A=C3=B1adido=20Google=20Indexing=20Action?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Añadido Google Indexing Action - Corregida Bing IndexNow --- .github/workflows/deploy.yml | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 39ee2f4..87167a6 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -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 @@ -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: @@ -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 }} \ No newline at end of file