Skip to content

Revert "feat: add web-haptics integration and triggers" #41

Revert "feat: add web-haptics integration and triggers"

Revert "feat: add web-haptics integration and triggers" #41

Workflow file for this run

name: 🔎 Indexación en motores de búsqueda
on:
push:
branches: ['main']
workflow_dispatch:
jobs:
wait-for-vercel-deployment:
name: 🔼 Esperar el deploy en Vercel
if: github.repository == 'TeenBiscuits/Blog'
runs-on: ubuntu-latest
steps:
- name: ⌛ Espera 50s
run: sleep 50s
shell: bash
- name: ⌛ Esperar deploy
# tj-actions
# MIT
# https://github.com/tj-actions/vercel-wait
uses: tj-actions/vercel-wait@v1.2.2
with:
project-id: ${{ secrets.VERCEL_PROJECT_ID }}
token: ${{ secrets.VERCEL_TOKEN }}
sha: ${{ github.sha }}
indexnow:
name: 🔎 Bing IndexNow
if: github.repository == 'TeenBiscuits/Blog'
needs: [wait-for-vercel-deployment]
runs-on: ubuntu-latest
steps:
- name: ⬆️ Subir Sitemap
# Bojie Yang
# MIT
# https://github.com/bojieyang/indexnow-action
uses: bojieyang/indexnow-action@v2.1.0
with:
sitemap-location: 'https://blog.pablopl.dev/sitemap-index.xml'
key: ${{ secrets.INDEXNOW_KEY }}
#lastmod-required: 'true'
endpoint: www.bing.com
failure-strategy: error
google-indexing:
name: 🔎 Google Index
if: github.repository == 'TeenBiscuits/Blog'
needs: [wait-for-vercel-deployment]
runs-on: ubuntu-latest
steps:
- name: ⬆️ Subir Urls
# Robin Genz
# MIT
# https://github.com/robingenz/google-indexing-action
uses: robingenz/action-google-indexing@v1.0.2
with:
siteUrl: 'blog.pablopl.dev'
gcpServiceAccountKey: ${{ secrets.GCP_SA_KEY }}