docsearch-scraper/entrypoint.sh

9 lines
273 B
Bash
Raw Permalink Normal View History

2021-07-06 00:56:01 +08:00
#!/bin/sh
# https://docs.github.com/en/actions/creating-actions/dockerfile-support-for-github-actions
2021-07-06 17:17:38 +08:00
cd /root
2021-07-06 00:56:01 +08:00
# `$*` expands the `args` supplied in an `array` individually
# or splits `args` in a string separated by whitespace.
sh -c "pipenv run python -m src.index $*"