Skip to content

Commit

Permalink
Fix setting the new http root
Browse files Browse the repository at this point in the history
Don't copy into a sub-dir
  • Loading branch information
tronical committed Sep 27, 2024
1 parent 6a5eb9f commit 6bddb84
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/typesense-scrape.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ jobs:
image: nginx:latest
options: "-d -p 80:80"
- name: Populate web server
run: docker cp ${{ inputs.relative_path }} nginx:/usr/share/nginx/html
run: |
docker exec nginx rm -rf /usr/share/nginx/html
docker cp ${{ inputs.relative_path }} nginx:/usr/share/nginx/html
- name: test web server
run: |
curl http://localhost:80/index.html > test.html
Expand Down

0 comments on commit 6bddb84

Please sign in to comment.