From 2d90fab8df282384ad7d27f86d7e9df2c051a6bc Mon Sep 17 00:00:00 2001 From: xuqingkai Date: Tue, 1 Aug 2023 11:48:59 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=F0=9F=9A=80=20=E5=88=A0=E9=99=A4algol?= =?UTF-8?q?ia=E7=9A=84workflow?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/aloglia.yml | 46 ----------------------------------- 1 file changed, 46 deletions(-) delete mode 100644 .github/workflows/aloglia.yml diff --git a/.github/workflows/aloglia.yml b/.github/workflows/aloglia.yml deleted file mode 100644 index a3e54b7e..00000000 --- a/.github/workflows/aloglia.yml +++ /dev/null @@ -1,46 +0,0 @@ -# name: Netlify -> Algolia Crawler -# on: -# push: -# branches: [ master ] -# pull_request: -# types: ['opened', 'edited', 'reopened', 'synchronize'] - -# jobs: -# algolia_recrawl: -# name: Algolia Recrawl -# runs-on: ubuntu-latest -# steps: -# # checkout this repo -# - name: Checkout Repo -# uses: actions/checkout@v2 - -# # We don't know when the site will be deployed, we just wait a few seconds -# # Better solutions can be found -# - name: Sleep for 30s -# run: sleep 30 - -# # For PRs -# - name: Netlify-PR => Algolia crawler creation and recrawl on preview (Pull Request) -# if: github.ref != 'refs/heads/master' -# uses: algolia/algoliasearch-crawler-github-actions@v1 -# id: crawler_pr -# with: -# crawler-user-id: ${{ secrets.CRAWLER_USER_ID }} -# crawler-api-key: ${{ secrets.CRAWLER_API_KEY }} -# algolia-app-id: ${{ secrets.ALGOLIA_APP_ID }} -# algolia-api-key: ${{ secrets.ALGOLIA_API_KEY }} -# site-url: 'https://deploy-preview-${{ github.event.pull_request.number }}--wot-design-uni.netlify.app/' -# override-config: true - -# # For main branch -# - name: Netlify-MAIN => Algolia crawler creation and recrawl (Push on Main branch) -# if: github.ref == 'refs/heads/master' -# uses: algolia/algoliasearch-crawler-github-actions@v1 -# id: crawler_push -# with: -# crawler-user-id: ${{ secrets.CRAWLER_USER_ID }} -# crawler-api-key: ${{ secrets.CRAWLER_API_KEY }} -# algolia-app-id: ${{ secrets.ALGOLIA_APP_ID }} -# algolia-api-key: ${{ secrets.ALGOLIA_API_KEY }} -# site-url: 'https://wot-design-uni.netlify.app/' -# override-config: true