From 9eb4dcabae9c9b5c47792ed45036dcff44d0a346 Mon Sep 17 00:00:00 2001 From: tiennm99 Date: Sat, 5 Apr 2025 21:10:57 +0700 Subject: [PATCH] feat(indexnow): init --- .github/workflows/indexnow.yml | 16 ++++++++++++++++ static/999914004d3d440ea05594d22be84c68.txt | 1 + 2 files changed, 17 insertions(+) create mode 100644 .github/workflows/indexnow.yml create mode 100644 static/999914004d3d440ea05594d22be84c68.txt diff --git a/.github/workflows/indexnow.yml b/.github/workflows/indexnow.yml new file mode 100644 index 0000000..f1c83e0 --- /dev/null +++ b/.github/workflows/indexnow.yml @@ -0,0 +1,16 @@ +name: 'IndexNow' +on: + create: + schedule: + - cron: '0 17 * * *' + workflow_dispatch: + +jobs: + check-and-submit: + runs-on: ubuntu-latest + steps: + - name: indexnow-action + uses: bojieyang/indexnow-action@v2 + with: + sitemap-location: 'https://tiennm99.github.io/sitemap.xml' + key: ${{ secrets.INDEXNOW_KEY }} \ No newline at end of file diff --git a/static/999914004d3d440ea05594d22be84c68.txt b/static/999914004d3d440ea05594d22be84c68.txt new file mode 100644 index 0000000..f12b3bc --- /dev/null +++ b/static/999914004d3d440ea05594d22be84c68.txt @@ -0,0 +1 @@ +999914004d3d440ea05594d22be84c68 \ No newline at end of file