Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix minor typo #35

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions .github/workflows/search.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Refresh Search Index
on: [page_build, workflow_dispatch]

jobs:
search:
name: Refresh search
runs-on: ubuntu-latest
steps:
- name: check status
if: github.event_name != 'workflow_dispatch'
run: |
import os
status, errormsg = os.getenv('STATUS'), os.getenv('ERROR')
assert status == 'built', 'There was an error building the page on GitHub pages.\n\nStatus: {}\n\nError messsage: {}'.format(status, errormsg)
shell: python
env:
STATUS: ${{ github.event.build.status }}
ERROR: ${{ github.event.build.error.message }}
- name: Algolia crawler creation and crawl
if: ${{ success() }}
uses: algolia/[email protected]
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 }}
crawler-name: 'metaflow-docs'
site-url: 'https://docs.metaflow.org'
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ There are scenarios where Alice might need to run multiple variants of ProjectFl
Try the following:

```python
python project_flow.py --branch better_version --prodduction run
python project_flow.py --branch better_version --production run
```

The flow reports that the branch name is `prod.better_version`. You can deploy the custom branch to AWS Step Functions:
Expand Down