Update Starlight #11
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/Pasame-Codigo' | |
runs-on: ubuntu-latest | |
steps: | |
- name: ⌛ Espera 70s | |
run: sleep 70s | |
shell: bash | |
- name: ⌛ Esperar deploy | |
# tj-actions | |
# MIT | |
# https://github.com/tj-actions/vercel-wait | |
uses: tj-actions/vercel-wait@v1 | |
with: | |
project-id: ${{ secrets.VERCEL_PROJECT_ID }} | |
token: ${{ secrets.VERCEL_TOKEN }} | |
sha: ${{ github.sha }} | |
indexnow: | |
name: 🔎 Bing IndexNow | |
if: github.repository == 'TeenBiscuits/Pasame-Codigo' | |
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 | |
with: | |
sitemap-location: 'https://pc.pablopl.dev/sitemap-index.xml' | |
key: ${{ secrets.INDEXNOW_KEY }} | |
endpoint: www.bing.com | |
failure-strategy: error | |
google-indexing: | |
name: 🔎 Google Index | |
if: github.repository == 'TeenBiscuits/Pasame-Codigo' | |
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/[email protected] | |
with: | |
siteUrl: 'pc.pablopl.dev' | |
gcpServiceAccountKey: ${{ secrets.GCP_SA_KEY }} |