Skip to content

Commit 6f28f04

Browse files
committed
Cleanup github workflows
1 parent a929a70 commit 6f28f04

File tree

4 files changed

+2
-130
lines changed

4 files changed

+2
-130
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ name: Build Docs
33
on:
44
push:
55
branches:
6-
- feature/docsearch
76
- 7.x
87
- 7.dev
98

@@ -43,51 +42,4 @@ jobs:
4342
uses: actions/upload-artifact@v4
4443
with:
4544
name: EEDocs7.latest
46-
path: build
47-
48-
- name: Zip the docs
49-
uses: montudor/action-zip@v1
50-
with:
51-
args: zip -qq -r EEDocs7.latest.zip build
52-
53-
# search:
54-
# name: Build Search Index
55-
# needs: build
56-
# runs-on: ubuntu-latest
57-
# steps:
58-
# - name: Checkout code
59-
# uses: actions/checkout@v2
60-
61-
# - name: Setup Variables
62-
# run: |
63-
# if [[ "${{github.base_ref}}" == "7.x" || "${{github.ref}}" == "refs/heads/7.x" ]]; then
64-
# echo "DOCS_URL=https://docs.expressionengine.com/latest" >> "$GITHUB_ENV"
65-
# else
66-
# echo "::add-mask::${{secrets.STAGING_DOCS_DOMAIN}}"
67-
# echo "DOCS_URL=${{secrets.STAGING_DOCS_URL}}" >> "$GITHUB_ENV"
68-
# fi
69-
70-
# - name: Configure Docsearch Index
71-
# uses: richardrigutins/replace-in-files@v2
72-
# with:
73-
# search-text: "\"index_uid\": \"expressionengine\""
74-
# replacement-text: "\"index_uid\": \"${{ needs.build.outputs.DOCSEARCH_INDEX }}\""
75-
# files: ./search.config.json
76-
77-
# - name: Configure Docs Url
78-
# uses: richardrigutins/replace-in-files@v2
79-
# with:
80-
# search-text: "https://docs.expressionengine.com/latest"
81-
# replacement-text: ${{ env.DOCS_URL }}
82-
# files: ./search.config.json
83-
84-
# - name: Scrape Docs
85-
# env:
86-
# HOST_URL: ${{ secrets.MEILISEARCH_HOST_URL }}
87-
# API_KEY: ${{ secrets.MEILISEARCH_API_KEY }}
88-
# run: |
89-
# docker run -t --rm \
90-
# -e MEILISEARCH_HOST_URL=$HOST_URL \
91-
# -e MEILISEARCH_API_KEY=$API_KEY \
92-
# -v ./search.config.json:/docs-scraper/search.config.json \
93-
# getmeili/docs-scraper:latest pipenv run ./docs_scraper search.config.json
45+
path: build

.github/workflows/publish-prod.yml

Lines changed: 0 additions & 40 deletions
This file was deleted.

.github/workflows/publish-staging.yml

Lines changed: 0 additions & 40 deletions
This file was deleted.

.github/workflows/search.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: search
1+
name: Update Search
22

33
on:
44
workflow_dispatch:

0 commit comments

Comments
 (0)