Skip to content

Scrape a release with typesense #7

Scrape a release with typesense

Scrape a release with typesense #7

name: Scrape a release with typesense
on:
workflow_dispatch:
jobs:
scrape:
runs-on: ubuntu-latest
steps:
- name: Repository Checkout
uses: actions/checkout@v4
with:
path: snapshots
- name: Run
uses: tj-actions/docker-run@v2
id: docker-run
with:
name: nginx
image: nginx:latest
options: "-d -p 80:80"
- name: Populate web server
run: docker cp snapshots nginx:/usr/share/ngnix/html
- name: test
run: |
curl http://localhost:80 > test.html
cat test.html