From 790ce68cc81fc30ce2e3a56b1462ca9ccc15eda5 Mon Sep 17 00:00:00 2001 From: Simon Hausmann Date: Thu, 26 Sep 2024 16:33:00 +0200 Subject: [PATCH] Being typesense scraping boilerplate --- .github/workflows/typesense-scrape.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/typesense-scrape.yml diff --git a/.github/workflows/typesense-scrape.yml b/.github/workflows/typesense-scrape.yml new file mode 100644 index 000000000..1b71dfa69 --- /dev/null +++ b/.github/workflows/typesense-scrape.yml @@ -0,0 +1,24 @@ + +name: Scrape a release with typesense + +on: + workflow_dispatch: + +jobs: + scrape: + services: + site: + image: python:3 + volumes: + - ${{ github.workspace }}/:/data + options: python -m http.server --directory /data + ports: + - 8000:8000 + runs-on: ubuntu-latest + steps: + - name: Repository Checkout + uses: actions/checkout@v4 + - name: test + run: | + curl http://localhost:8000 > test.html + cat test.html \ No newline at end of file