Skip to content

Commit

Permalink
Improve notes and naming
Browse files Browse the repository at this point in the history
  • Loading branch information
Vedran Mandic committed Jan 21, 2024
1 parent 35fcebb commit 3a6d69b
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 11 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,24 @@ name: Docker Image CI

on:
push:
branches: [ "main" ]
branches: ["main"]
pull_request:
branches: [ "main" ]
branches: ["main"]

env:
IMAGE_TAG: vmandic/tris:main-${{ github.run_number }}

jobs:

build:
name: Build docker image and push to Docker hub
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build the Docker image
run: docker build . --file ./docker/Dockerfile --tag ${{ env.IMAGE_TAG }}
- uses: actions/checkout@v3
- name: Build the Docker image
run: docker build . --file ./docker/Dockerfile --tag ${{ env.IMAGE_TAG }}

- name: Log in to Docker Hub
run: docker login --username "${{ secrets.DOCKER_USERNAME }}" --password "${{ secrets.DOCKER_PAT }}"
- name: Log in to Docker Hub
run: docker login --username "${{ secrets.DOCKER_USERNAME }}" --password "${{ secrets.DOCKER_PAT }}"

- name: Push the Docker image to Docker Hub
run: docker push ${{ env.IMAGE_TAG }}
- name: Push the Docker image to Docker Hub
run: docker push ${{ env.IMAGE_TAG }}
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
# Tris - Simple Spider Scraper
# Tris - Simple Spider Scraper 🕸🕷

![Docker build](https://github.com/vmandic/tris-simple-spider-scraper/actions/workflows/docker-image.yml/badge.svg)

Docker 🐋 images: https://hub.docker.com/repository/docker/vmandic/tris

Simple Spider Scraper or _Tris_ is a Node.js CLI tool which is by its core feature a web scraper (link spider) that allows you to recursively crawl a website and collect links within the specified depth. It provides various customization options to tailor the scraping process according to your needs.

Whether you're a developer, SEO professional, or data enthusiast, Tris provides a simple yet powerful tool to gather valuable insights from websites.
Expand Down

0 comments on commit 3a6d69b

Please sign in to comment.