mirror of https://github.com/onweru/compose.git

weru
27.14.2023 202a5a6f862299238ab526e0075402c87e368df8
update index path

Signed-off-by: weru <fromweru@gmail.com>
2 files deleted
2 files modified
18 ■■■■■ changed files
.github/workflows/agolia-update.yaml 9 ●●●●● patch | view | raw | blame | history
dist/.gitkeep patch | view | raw | blame | history
exampleSite/.github/workflows/agolia-update.yaml 9 ●●●●● patch | view | raw | blame | history
exampleSite/dist/.gitkeep patch | view | raw | blame | history
.github/workflows/agolia-update.yaml
@@ -63,7 +63,8 @@
      run: |
        git config --local user.email "action@github.com"
        git config --local user.name "GitHub Action"
        git add -A dist/index.json
        cp exampleSite/dist/index.json index.json
        git add -A index.json
        commit_message=$(git commit -m "Build search index." -a | tr -d '\n' || true)
        echo "commit_message=$commxit_message >> $GITHUB_OUTPUT"
@@ -93,7 +94,7 @@
        app_id: ${{ secrets.AGOLIA_INDEX_ID }}
        # Go to https://github.com/dimi365/website/settings/secrets/actions and set an AGOLIA_ADMIN_KEY secret key
        admin_key: ${{ secrets.AGOLIA_ADMIN_KEY }}
        # The index name.
        index_name: dimi_site
        # The algolia search index name.
        index_name: compose # edit appropriately
        # The index file path relative to repo root. no leading forward slash
        index_file_path: dist/index.json
        index_file_path: index.json
dist/.gitkeep
exampleSite/.github/workflows/agolia-update.yaml
@@ -64,7 +64,8 @@
      run: |
        git config --local user.email "action@github.com"
        git config --local user.name "GitHub Action"
        git add -A exampleSite/dist/index.json
        cp dist/index.json index.json
        git add -A index.json
        commit_message=$(git commit -m "Build search index." -a | tr -d '\n' || true)
        echo "commit_message=$commxit_message >> $GITHUB_OUTPUT"
@@ -94,7 +95,7 @@
        app_id: ${{ secrets.AGOLIA_INDEX_ID }}
        # Go to https://github.com/dimi365/website/settings/secrets/actions and set an AGOLIA_ADMIN_KEY secret key
        admin_key: ${{ secrets.AGOLIA_ADMIN_KEY }}
        # The index name.
        index_name: dimi_site
        # The algolia search index name.
        index_name: compose # edit appropriately
        # The index file path relative to repo root. no leading forward slash
        index_file_path: dist/index.json
        index_file_path: index.json
exampleSite/dist/.gitkeep