From 4c2b9bfe0fcc5149baae12b867fbf8b42039b0f2 Mon Sep 17 00:00:00 2001 From: elreydetoda <10230166+elreydetoda@users.noreply.github.com> Date: Fri, 13 Sep 2024 22:41:12 -0400 Subject: [PATCH] commenting out since algolia is broken --- .github/workflows/cd.yml | 72 ++++++++++++++++++++-------------------- 1 file changed, 36 insertions(+), 36 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 1e4f912..fa4ffa2 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -88,39 +88,39 @@ jobs: name: algolia-data path: /tmp/gh-pages/algolia.json - auto_actions: - name: Actions to update Algolia after site's been deployed - runs-on: ubuntu-latest - needs: prod - # https://docs.github.com/en/actions/deployment/targeting-different-environments/using-environments-for-deployment#using-an-environment - environment: production - container: - image: docker.io/python:3.11-slim - - steps: - - name: Checkout Code - uses: actions/checkout@v2 - - - name: Install pipenv - run: pip install pipenv - - - uses: actions/setup-python@v3 - with: - python-version: "3.11" - cache: "pipenv" - - - name: installing pipenv packages - run: cd .github/repo_ci-cd/deployment/ && pipenv sync - - - name: downloading algolia data - uses: actions/download-artifact@v3 - with: - name: algolia-data - - - name: Update Algolia index - run: cd .github/repo_ci-cd/deployment/ && pipenv run ./algolia.py - # https://docs.github.com/en/actions/security-guides/encrypted-secrets#using-encrypted-secrets-in-a-workflow - env: - ALGOLIA_API_KEY: ${{ secrets.ALGOLIA_API_KEY }} - ALGOLIA_APP_ID: ${{ secrets.ALGOLIA_APP_ID }} - ALGOLIA_INDEX_NAME: ${{ secrets.ALGOLIA_INDEX_NAME }} + # auto_actions: + # name: Actions to update Algolia after site's been deployed + # runs-on: ubuntu-latest + # needs: prod + # # https://docs.github.com/en/actions/deployment/targeting-different-environments/using-environments-for-deployment#using-an-environment + # environment: production + # container: + # image: docker.io/python:3.11-slim + + # steps: + # - name: Checkout Code + # uses: actions/checkout@v2 + + # - name: Install pipenv + # run: pip install pipenv + + # - uses: actions/setup-python@v3 + # with: + # python-version: "3.11" + # cache: "pipenv" + + # - name: installing pipenv packages + # run: cd .github/repo_ci-cd/deployment/ && pipenv sync + + # - name: downloading algolia data + # uses: actions/download-artifact@v3 + # with: + # name: algolia-data + + # - name: Update Algolia index + # run: cd .github/repo_ci-cd/deployment/ && pipenv run ./algolia.py + # # https://docs.github.com/en/actions/security-guides/encrypted-secrets#using-encrypted-secrets-in-a-workflow + # env: + # ALGOLIA_API_KEY: ${{ secrets.ALGOLIA_API_KEY }} + # ALGOLIA_APP_ID: ${{ secrets.ALGOLIA_APP_ID }} + # ALGOLIA_INDEX_NAME: ${{ secrets.ALGOLIA_INDEX_NAME }}